diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-22 02:28:53 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-22 02:28:53 +0000 |
commit | c7aed26ec28e1a2a8728d1471296eb8e7cd14ba7 (patch) | |
tree | 8f98dae088f7f5ae2df3690677f1c271ac8c7a51 /sys/dev/ic/rt2860.c | |
parent | f5060714df0f00e45a9c7091f8f8706f7225b547 (diff) |
unifdef INET
Diffstat (limited to 'sys/dev/ic/rt2860.c')
-rw-r--r-- | sys/dev/ic/rt2860.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c index 75859db260c..e1a1724d252 100644 --- a/sys/dev/ic/rt2860.c +++ b/sys/dev/ic/rt2860.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860.c,v 1.77 2014/12/19 22:44:58 guenther Exp $ */ +/* $OpenBSD: rt2860.c,v 1.78 2014/12/22 02:28:51 tedu Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -1827,10 +1827,8 @@ rt2860_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) case SIOCSIFADDR: ifa = (struct ifaddr *)data; ifp->if_flags |= IFF_UP; -#ifdef INET if (ifa->ifa_addr->sa_family == AF_INET) arp_ifinit(&ic->ic_ac, ifa); -#endif /* FALLTHROUGH */ case SIOCSIFFLAGS: if (ifp->if_flags & IFF_UP) { |