diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-07-11 19:36:18 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-07-11 19:36:18 +0000 |
commit | c5dddb272dbf6bad5c689474d2741829a2def1f0 (patch) | |
tree | 2480eb2b3d719403a33e272e75364033e3052e45 /sys/contrib/ipfilter/netinet | |
parent | 3133f9c2a3f684be0db98245f84528afc6cfc8b0 (diff) | |
download | src-c5dddb272dbf6bad5c689474d2741829a2def1f0.tar.gz src-c5dddb272dbf6bad5c689474d2741829a2def1f0.zip |
Remove a tautological test for adding a rule in the block that
adds rules.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=349917
Diffstat (limited to 'sys/contrib/ipfilter/netinet')
-rw-r--r-- | sys/contrib/ipfilter/netinet/fil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/fil.c b/sys/contrib/ipfilter/netinet/fil.c index 640c710dfc1d..0a956238297d 100644 --- a/sys/contrib/ipfilter/netinet/fil.c +++ b/sys/contrib/ipfilter/netinet/fil.c @@ -5110,8 +5110,7 @@ frrequest(softc, unit, req, data, set, makecopy) if (fp->fr_next != NULL) fp->fr_next->fr_pnext = &fp->fr_next; *ftail = fp; - if (addrem == OP_ADD) - ipf_fixskip(ftail, fp, 1); + ipf_fixskip(ftail, fp, 1); fp->fr_icmpgrp = NULL; if (fp->fr_icmphead != -1) { |