make protocol string be tcp/udp not tcpudp since this is how it is documented.
authorkstailey <kstailey@openbsd.org>
Fri, 7 Feb 1997 17:02:50 +0000 (17:02 +0000)
committerkstailey <kstailey@openbsd.org>
Fri, 7 Feb 1997 17:02:50 +0000 (17:02 +0000)
sbin/ipnat/ipnat.c

index ebf9d49..e8643d5 100644 (file)
@@ -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,