diff options
author | ru <ru@FreeBSD.org> | 2001-11-26 10:05:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-11-26 10:05:58 +0000 |
commit | 34f496f589b0239dfde39709613e2edb2a470493 (patch) | |
tree | e4706484add3700bf5f11b55ae0774e728dcba76 /sys/netinet | |
parent | b81d338044f3ac68d3c7a8a919932f5291954137 (diff) | |
download | FreeBSD-src-34f496f589b0239dfde39709613e2edb2a470493.zip FreeBSD-src-34f496f589b0239dfde39709613e2edb2a470493.tar.gz |
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>
Diffstat (limited to 'sys/netinet')
-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 abc9f3b..e9a6ff1 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: |