Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/netstat Don't count on kernel includes to exports us...



details:   https://anonhg.NetBSD.org/src/rev/4b9310815f5d
branches:  trunk
changeset: 526873:4b9310815f5d
user:      matt <matt%NetBSD.org@localhost>
date:      Mon May 13 05:13:23 2002 +0000

description:
Don't count on kernel includes to exports user variables.

diffstat:

 usr.bin/netstat/route.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f0f5856f3648 -r 4b9310815f5d usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c   Mon May 13 04:15:40 2002 +0000
+++ b/usr.bin/netstat/route.c   Mon May 13 05:13:23 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.58 2001/10/06 18:56:49 bjh21 Exp $ */
+/*     $NetBSD: route.c,v 1.59 2002/05/13 05:13:23 matt Exp $  */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "from: @(#)route.c      8.3 (Berkeley) 3/9/94";
 #else
-__RCSID("$NetBSD: route.c,v 1.58 2001/10/06 18:56:49 bjh21 Exp $");
+__RCSID("$NetBSD: route.c,v 1.59 2002/05/13 05:13:23 matt Exp $");
 #endif
 #endif /* not lint */
 
@@ -150,6 +150,7 @@
        u_long rtree;
 {
        struct radix_node_head *rnh, head;
+       struct radix_node_head *rt_tables[AF_MAX+1];
        int i;
 
        printf("Routing tables\n");



Home | Main Index | Thread Index | Old Index