summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index aac2d3d10a8..468335df05d 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.90 2011/11/01 00:00:01 mikeb Exp $ */
+/* $OpenBSD: main.c,v 1.91 2011/11/01 10:14:06 mikeb Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -158,11 +158,12 @@ main(int argc, char *argv[])
char buf[_POSIX2_LINE_MAX];
gid_t gid;
u_long pcbaddr = 0;
- u_int tableid = 0;
+ u_int tableid;
int Tflag = 0;
int repeatcount = 0;
af = AF_UNSPEC;
+ tableid = getrtable();
while ((ch = getopt(argc, argv,
"AaBbc:dFf:gI:ilM:mN:np:P:qrsT:tuvW:w:")) != -1)