diff options
author | 2009-05-07 15:51:53 +0000 | |
---|---|---|
committer | 2009-05-07 15:51:53 +0000 | |
commit | 715d0b9d04557cb17ff8c85dae00366f2d57438b (patch) | |
tree | 40e50121021a81cf696e4fd2fa18510b1546fa43 /usr.bin/netstat/main.c | |
parent | Move amas device from arch/amd64 to dev/pci and enable it in i386 as well. (diff) | |
download | wireguard-openbsd-715d0b9d04557cb17ff8c85dae00366f2d57438b.tar.xz wireguard-openbsd-715d0b9d04557cb17ff8c85dae00366f2d57438b.zip |
Make the kvm routing table code grok multiple routing tables and do not
default to table 0 by default. Makes debugging alternate tables possible.
OK jsg@
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 936ded799ec..8662a82be53 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.78 2009/02/21 20:07:49 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.79 2009/05/07 15:51:53 claudio Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -377,7 +377,8 @@ main(int argc, char *argv[]) rt_stats(); else if (Aflag || nlistf != NULL || memf != NULL) routepr(nl[N_RTREE].n_value, nl[N_RTMASK].n_value, - nl[N_AF2RTAFIDX].n_value, nl[N_RTBLIDMAX].n_value); + nl[N_AF2RTAFIDX].n_value, nl[N_RTBLIDMAX].n_value, + tableid); else p_rttables(af, tableid); exit(0); |