From 8f52c187247204e516fa14def5c6a5fc36f8dd6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Tue, 27 Aug 1996 20:52:27 +0000 Subject: [PATCH] Oops, send the operation type, not the name to the NAT code... --- sys/netinet/raw_ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index a6c80bff253c..cfe4941a9ba9 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 @@ -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);