1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Remove a tautological test for adding a rule in the block that

adds rules.

MFC after:	1 week
This commit is contained in:
Cy Schubert 2019-07-11 19:36:18 +00:00
parent 3133f9c2a3
commit c5dddb272d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349917

View File

@ -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) {