Source-Changes-HG archive

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

[src/trunk]: src/sys/net Fix a copy n pasta error with prior.



details:   https://anonhg.NetBSD.org/src/rev/81b7d23d2bb6
branches:  trunk
changeset: 337666:81b7d23d2bb6
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Apr 22 20:42:32 2015 +0000

description:
Fix a copy n pasta error with prior.

diffstat:

 sys/net/if.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3ef0f4da4543 -r 81b7d23d2bb6 sys/net/if.c
--- a/sys/net/if.c      Wed Apr 22 20:24:20 2015 +0000
+++ b/sys/net/if.c      Wed Apr 22 20:42:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.312 2015/04/22 19:46:08 roy Exp $     */
+/*     $NetBSD: if.c,v 1.313 2015/04/22 20:42:32 roy Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.312 2015/04/22 19:46:08 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.313 2015/04/22 20:42:32 roy Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -1584,8 +1584,8 @@
 #endif
        rt_ifmsg(ifp);
        DOMAIN_FOREACH(dp) {
-               if (dp->dom_if_down)
-                       dp->dom_if_down(ifp);
+               if (dp->dom_if_up)
+                       dp->dom_if_up(ifp);
        }
 }
 



Home | Main Index | Thread Index | Old Index