summaryrefslogtreecommitdiff
path: root/sys/arch/vax/bi/if_ni.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/bi/if_ni.c')
-rw-r--r--sys/arch/vax/bi/if_ni.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/vax/bi/if_ni.c b/sys/arch/vax/bi/if_ni.c
index 34bdafbd4b8..305852aa8b6 100644
--- a/sys/arch/vax/bi/if_ni.c
+++ b/sys/arch/vax/bi/if_ni.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ni.c,v 1.5 2004/07/07 23:10:43 deraadt Exp $ */
+/* $OpenBSD: if_ni.c,v 1.6 2005/01/15 05:24:10 brad Exp $ */
/* $NetBSD: if_ni.c,v 1.15 2002/05/22 16:03:14 wiz Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -763,7 +763,8 @@ niioctl(ifp, cmd, data)
* Multicast list has changed; set the hardware filter
* accordingly.
*/
- ni_setup(sc);
+ if (ifp->if_flags & IFF_RUNNING)
+ ni_setup(sc);
error = 0;
}
break;