diff options
Diffstat (limited to 'sys/net/if_trunk.c')
-rw-r--r-- | sys/net/if_trunk.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/if_trunk.c b/sys/net/if_trunk.c index c7bc1473e25..8cbfc1a9d22 100644 --- a/sys/net/if_trunk.c +++ b/sys/net/if_trunk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_trunk.c,v 1.5 2005/09/10 22:40:36 reyk Exp $ */ +/* $OpenBSD: if_trunk.c,v 1.6 2005/09/11 16:17:01 brad Exp $ */ /* * Copyright (c) 2005 Reyk Floeter <reyk@vantronix.net> @@ -607,10 +607,11 @@ trunk_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) error = trunk_port_destroy(tp); break; case SIOCSIFADDR: + ifp->if_flags |= IFF_UP; + #ifdef INET - if (ifa->ifa_addr->sa_family == AF_INET) { + if (ifa->ifa_addr->sa_family == AF_INET) arp_ifinit(&tr->tr_ac, ifa); - } #endif /* INET */ break; case SIOCSIFMTU: |