Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ipf Add a missing "else".
details: https://anonhg.NetBSD.org/src/rev/aaa7312730cc
branches: trunk
changeset: 521149:aaa7312730cc
user: martin <martin%NetBSD.org@localhost>
date: Thu Jan 24 10:40:12 2002 +0000
description:
Add a missing "else".
diffstat:
dist/ipf/printnat.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 2bf5b8113074 -r aaa7312730cc dist/ipf/printnat.c
--- a/dist/ipf/printnat.c Thu Jan 24 08:30:27 2002 +0000
+++ b/dist/ipf/printnat.c Thu Jan 24 10:40:12 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: printnat.c,v 1.1.1.1 2002/01/24 08:18:30 martti Exp $ */
+/* $NetBSD: printnat.c,v 1.2 2002/01/24 10:40:12 martin Exp $ */
/*
* Copyright (C) 1993-2001 by Darren Reed.
@@ -228,7 +228,8 @@
printf(" [%s", inet_ntoa(nat->nat_oip));
if ((nat->nat_flags & IPN_TCPUDP) != 0)
printf(" %hu]", ntohs(nat->nat_oport));
- printf("]");
+ else
+ printf("]");
if (opts & OPT_VERBOSE) {
printf("\n\tage %lu use %hu sumd %s/",
Home |
Main Index |
Thread Index |
Old Index