Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net fix route cleanup on interface removal. (not sure wh...
details: https://anonhg.NetBSD.org/src/rev/eed8d4a69bf4
branches: trunk
changeset: 481749:eed8d4a69bf4
user: itojun <itojun%NetBSD.org@localhost>
date: Sat Feb 05 07:58:54 2000 +0000
description:
fix route cleanup on interface removal. (not sure why -Wall did not catch it)
diffstat:
sys/net/if.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ce97449a7282 -r eed8d4a69bf4 sys/net/if.c
--- a/sys/net/if.c Sat Feb 05 07:38:10 2000 +0000
+++ b/sys/net/if.c Sat Feb 05 07:58:54 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.54 2000/02/02 23:28:08 thorpej Exp $ */
+/* $NetBSD: if.c,v 1.55 2000/02/05 07:58:54 itojun Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -452,7 +452,7 @@
struct radix_node *rn;
void *v;
{
- struct ifnet *ifp;
+ struct ifnet *ifp = (struct ifnet *)v;
struct rtentry *rt = (struct rtentry *)rn;
int error;
Home |
Main Index |
Thread Index |
Old Index