summaryrefslogtreecommitdiff
path: root/sbin/ipnat/ipnat.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-07 19:33:50 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-07 19:33:50 +0000
commit4b3b1c64948ecdb8720ea74a911ec8f2903018fc (patch)
treed7ceb2e417c006861a08152a411fcb83ea2ed178 /sbin/ipnat/ipnat.c
parent78b52c4aebc48411521f19fc902de34f51dddb9d (diff)
one more tcpudp->tcp/udp
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 9d000d8abc4..4f9aafb1a55 100644
--- a/sbin/ipnat/ipnat.c
+++ b/sbin/ipnat/ipnat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipnat.c,v 1.7 1997/02/07 18:26:47 kstailey Exp $ */
+/* $OpenBSD: ipnat.c,v 1.8 1997/02/07 19:33:49 kstailey Exp $ */
/*
* (C)opyright 1993,1994,1995 by Darren Reed.
*
@@ -540,7 +540,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, "expected protocol name - got \"%s\"\n", s);