diff options
| author | pooka <pooka@NetBSD.org> | 2014-01-03 12:49:59 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2014-01-03 12:49:59 +0000 |
| commit | 73bdc5873cc03d7ac524bbc78d2bcaa91b7beceb (patch) | |
| tree | 30d6551361ffd4cf7e0c27e32ee8b151503466cb | |
| parent | 698be73c96c56c6e962500f1400c0d8f79a6123f (diff) | |
missed one inet6 check
| -rw-r--r-- | sys/net/if.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 0b6db67811e..545b0957b4c 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.270 2014/01/02 18:29:01 pooka Exp $ */ +/* $NetBSD: if.c,v 1.271 2014/01/03 12:49:59 pooka 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.270 2014/01/02 18:29:01 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.271 2014/01/03 12:49:59 pooka Exp $"); #include "opt_inet.h" @@ -1685,7 +1685,8 @@ ifioctl_common(struct ifnet *ifp, u_long cmd, void *data) * If the link MTU changed, do network layer specific procedure. */ #ifdef INET6 - nd6_setmtu(ifp); + if (in6_present) + nd6_setmtu(ifp); #endif return ENETRESET; default: |
