diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-11-26 10:05:58 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-11-26 10:05:58 +0000 |
commit | 8ba0396688bea1bb6b5cb0c4620316667aea0092 (patch) | |
tree | e4706484add3700bf5f11b55ae0774e728dcba76 /sys | |
parent | 1c988e75f4c15cb4c5c4b9d7a0213889e2a9efea (diff) | |
download | src-8ba0396688bea1bb6b5cb0c4620316667aea0092.tar.gz src-8ba0396688bea1bb6b5cb0c4620316667aea0092.zip |
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>
Notes
Notes:
svn path=/head/; revision=86910
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/raw_ip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index abc9f3bbbaff..e9a6ff107f23 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -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: |