summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 0e225c5e01d..3fc02fc5a0f 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.187 2009/01/31 21:23:34 grange Exp $ */
+/* $OpenBSD: if.c,v 1.188 2009/02/24 21:14:12 claudio Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -1088,9 +1088,11 @@ if_down(struct ifnet *ifp)
bstp_ifstate(ifp);
#endif
rt_ifmsg(ifp);
+#if 0
#ifndef SMALL_KERNEL
rt_if_track(ifp);
#endif
+#endif
}
/*
@@ -1128,9 +1130,11 @@ if_up(struct ifnet *ifp)
in6_if_up(ifp);
#endif
+#if 0
#ifndef SMALL_KERNEL
rt_if_track(ifp);
#endif
+#endif
m_clinitifp(ifp);
}
@@ -1143,9 +1147,11 @@ void
if_link_state_change(struct ifnet *ifp)
{
rt_ifmsg(ifp);
+#if 0
#ifndef SMALL_KERNEL
rt_if_track(ifp);
#endif
+#endif
dohooks(ifp->if_linkstatehooks, 0);
}