File:  [ELWIX - Embedded LightWeight unIX -] / fwsync / patches / ip_fw2.patch
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Jun 22 13:01:55 2022 UTC (2 years ago) by misho
Branches: MAIN
CVS tags: HEAD
Initial revision

    1: diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c
    2: index 7b6cca68fd1..62995ba76be 100644
    3: --- a/sys/netpfil/ipfw/ip_fw2.c
    4: +++ b/sys/netpfil/ipfw/ip_fw2.c
    5: @@ -186,6 +186,9 @@ ipfw_nat_cfg_t *ipfw_nat_del_ptr;
    6:  ipfw_nat_cfg_t *ipfw_nat_get_cfg_ptr;
    7:  ipfw_nat_cfg_t *ipfw_nat_get_log_ptr;
    8:  
    9: +VNET_DEFINE(ipfw_hook_t, hook_state) = NULL;
   10: +VNET_DEFINE(ipfw_hook_t, hook_alias) = NULL;
   11: +
   12:  #ifdef SYSCTL_NODE
   13:  uint32_t dummy_def = IPFW_DEFAULT_RULE;
   14:  static int sysctl_ipfw_table_num(SYSCTL_HANDLER_ARGS);

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>