From bc506cd082eca8c7705ac02c7a764eae84ced91f Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Fri, 16 Jun 2006 17:46:44 +0000 Subject: make route show work on secondary tables, using the just committed extension to the syctl NET_RT_DUMP interface, claudio ok --- sbin/route/route.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/route/route.c') diff --git a/sbin/route/route.c b/sbin/route/route.c index 1c44f0d9d55..cb3b42c686b 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.98 2006/06/16 16:55:19 henning Exp $ */ +/* $OpenBSD: route.c,v 1.99 2006/06/16 17:46:43 henning Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -601,7 +601,7 @@ show(int argc, char *argv[]) usage(*argv); } - p_rttables(af); + p_rttables(af, tableid); } void -- cgit v1.2.3