From: kstailey Date: Fri, 7 Feb 1997 17:02:50 +0000 (+0000) Subject: make protocol string be tcp/udp not tcpudp since this is how it is documented. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1f7eabe6d374968a9f1818eb62907960b2fa3bfd;p=openbsd make protocol string be tcp/udp not tcpudp since this is how it is documented. --- diff --git a/sbin/ipnat/ipnat.c b/sbin/ipnat/ipnat.c index ebf9d49b26c..e8643d5bf84 100644 --- a/sbin/ipnat/ipnat.c +++ b/sbin/ipnat/ipnat.c @@ -52,7 +52,7 @@ #ifndef lint static char sccsid[] ="@(#)ipnat.c 1.9 6/5/96 (C) 1993 Darren Reed"; -static char rcsid[] = "$Id: ipnat.c,v 1.4 1996/10/08 07:33:33 niklas Exp $"; +static char rcsid[] = "$Id: ipnat.c,v 1.5 1997/02/07 17:02:50 kstailey Exp $"; #endif #if SOLARIS @@ -513,7 +513,7 @@ char *line; ipn.in_flags = IPN_TCP; else if (!strcasecmp(s, "udp")) ipn.in_flags = IPN_UDP; - else if (!strcasecmp(s, "tcpudp")) + else if (!strcasecmp(s, "tcp/udp")) ipn.in_flags = IPN_TCPUDP; else { fprintf(stderr,