summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-13 21:19:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-13 21:19:31 +0000
commitb342e636909b2204fdb799f75fd23e433591fb1e (patch)
tree98b18155abd64f88d67a392d9dd7d16632e558ff /usr.bin/netstat
parentbcf1fd1773563aa6db73183221c666e822543a14 (diff)
handle lack of proto
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/show.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c
index 8e2b3615f72..67295e3c6ba 100644
--- a/usr.bin/netstat/show.c
+++ b/usr.bin/netstat/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.38 2013/03/20 15:23:37 deraadt Exp $ */
+/* $OpenBSD: show.c,v 1.39 2013/11/13 21:19:30 deraadt Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -212,7 +212,7 @@ p_rttables(int af, u_int tableid)
*/
#define WID_GW(af) ((af) == AF_INET6 ? (nflag ? 30 : 18) : 18)
-int
+static int
WID_DST(int af)
{