summaryrefslogtreecommitdiffstats
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1996-08-27 20:52:27 +0000
committersos <sos@FreeBSD.org>1996-08-27 20:52:27 +0000
commit5a97a8eab334e8831df7f7531245047656b002fd (patch)
tree3e35f966513ad2f4fe52fea1d957baba4a28c903 /sys/netinet/raw_ip.c
parent111f20268df849ea8175f9ebee12df3705ac67e0 (diff)
downloadFreeBSD-src-5a97a8eab334e8831df7f7531245047656b002fd.zip
FreeBSD-src-5a97a8eab334e8831df7f7531245047656b002fd.tar.gz
Oops, send the operation type, not the name to the NAT code...
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index a6c80bf..cfe4941 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)raw_ip.c 8.7 (Berkeley) 5/15/95
- * $Id: raw_ip.c,v 1.33 1996/07/24 18:46:18 wollman Exp $
+ * $Id: raw_ip.c,v 1.34 1996/08/21 21:37:07 sos Exp $
*/
#include <sys/param.h>
@@ -257,7 +257,7 @@ rip_ctloutput(op, so, level, optname, m)
if (*m) (void)m_free(*m);
return(EINVAL);
}
- return (*ip_nat_ctl_ptr)(optname, m);
+ return (*ip_nat_ctl_ptr)(op, m);
case IP_RSVP_ON:
return ip_rsvp_init(so);
OpenPOWER on IntegriCloud