Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat fix default route determination for inet6.
details: https://anonhg.NetBSD.org/src/rev/b9620db6517a
branches: trunk
changeset: 480685:b9620db6517a
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Jan 17 18:03:51 2000 +0000
description:
fix default route determination for inet6.
diffstat:
usr.bin/netstat/route.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 92cfdafc669d -r b9620db6517a usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c Mon Jan 17 17:59:48 2000 +0000
+++ b/usr.bin/netstat/route.c Mon Jan 17 18:03:51 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.47 2000/01/17 17:54:56 itojun Exp $ */
+/* $NetBSD: route.c,v 1.48 2000/01/17 18:03:51 itojun 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.47 2000/01/17 17:54:56 itojun Exp $");
+__RCSID("$NetBSD: route.c,v 1.48 2000/01/17 18:03:51 itojun Exp $");
#endif
#endif /* not lint */
@@ -878,7 +878,7 @@
else
masklen = 128;
- if (masklen == 0 && IN6_IS_ADDR_UNSPECIFIED(&sin6.sin6_addr))
+ if (masklen == 0 && IN6_IS_ADDR_UNSPECIFIED(&sa6->sin6_addr))
return("default");
if (illegal)
Home |
Main Index |
Thread Index |
Old Index