=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/main.c,v retrieving revision 1.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- src/usr.bin/netstat/main.c 2011/11/01 00:00:01 1.90 +++ src/usr.bin/netstat/main.c 2011/11/01 10:14:06 1.91 @@ -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 @@ 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)