mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Initialize V_nat64out methods explicitly.
It looks like initialization of static variable doesn't work for VIMAGE and this leads to panic. Reported by: olivier MFC after: 1 week
This commit is contained in:
parent
e0235fd34a
commit
efdadaa2d8
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ vnet_ipfw_nat64_init(const void *arg __unused)
|
|||
|
||||
ch = &V_layer3_chain;
|
||||
first = IS_DEFAULT_VNET(curvnet) ? 1: 0;
|
||||
/* Initialize V_nat64out methods explicitly. */
|
||||
nat64_set_output_method(0);
|
||||
error = nat64stl_init(ch, first);
|
||||
if (error != 0)
|
||||
return (error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue