summaryrefslogtreecommitdiff
path: root/sbin/ipnat/ipnat.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-07 17:02:51 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-07 17:02:51 +0000
commitb234b578cd01b9b36958f75243e131649850f184 (patch)
tree819d406b28e6bb71ce9a2956ec7e70767c13750d /sbin/ipnat/ipnat.c
parent0a7c140e34c40c47627b04bbfe5d2f0af6b4ee71 (diff)
make protocol string be tcp/udp not tcpudp since this is how it is documented.
Diffstat (limited to 'sbin/ipnat/ipnat.c')
-rw-r--r--sbin/ipnat/ipnat.c4
1 files changed, 2 insertions, 2 deletions
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,