Restore the ability to use IP_FW_ADD with setsockopt(2) that got

broken in revision 1.86.  This broke natd(8)'s -punch_fw option.

Reported by:	Daniel Rock <D.Rock@t-online.de>,
		setantae <setantae@submonkey.net>
This commit is contained in:
ru 2001-11-26 10:05:58 +00:00
parent a8eb886d76
commit 58bc029d20

View File

@ -331,6 +331,7 @@ rip_ctloutput(so, sopt)
inp->inp_flags &= ~INP_HDRINCL;
break;
case IP_FW_ADD:
case IP_FW_DEL:
case IP_FW_FLUSH:
case IP_FW_ZERO: