File:  [ELWIX - Embedded LightWeight unIX -] / fwsync / patches / ip_fw_nat.patch
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Aug 13 18:08:19 2022 UTC (22 months, 3 weeks ago) by misho
Branches: MAIN
CVS tags: HEAD
adds sync nat aliases augmentation

    1: diff --git a/sys/netpfil/ipfw/ip_fw_nat.c b/sys/netpfil/ipfw/ip_fw_nat.c
    2: index d7b31c29d4e..22e6d81886a 100644
    3: --- a/sys/netpfil/ipfw/ip_fw_nat.c
    4: +++ b/sys/netpfil/ipfw/ip_fw_nat.c
    5: @@ -348,6 +348,9 @@ ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m)
    6:  
    7:  	c = mtod(mcl, char *);
    8:  
    9: +	if (V_sync_alias)
   10: +		V_sync_alias(NULL, NULL);
   11: +
   12:  	/* Check if this is 'global' instance */
   13:  	if (t == NULL) {
   14:  		if (args->flags & IPFW_ARGS_IN) {

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