diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-22 02:26:55 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-22 02:26:55 +0000 |
commit | f5060714df0f00e45a9c7091f8f8706f7225b547 (patch) | |
tree | e007b2eaf7d8a2e1945f639b49bc43895f8dc057 /sys/arch/socppc/dev | |
parent | 0ea9167b77e90db329a6febb88b957a60ad830d5 (diff) |
unifdef INET
Diffstat (limited to 'sys/arch/socppc/dev')
-rw-r--r-- | sys/arch/socppc/dev/if_tsec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c index 1e06d91daa1..5cc4c220600 100644 --- a/sys/arch/socppc/dev/if_tsec.c +++ b/sys/arch/socppc/dev/if_tsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tsec.c,v 1.33 2014/11/30 01:24:15 brad Exp $ */ +/* $OpenBSD: if_tsec.c,v 1.34 2014/12/22 02:26:53 tedu Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -49,10 +49,8 @@ #include <net/bpf.h> #endif -#ifdef INET #include <netinet/in.h> #include <netinet/if_ether.h> -#endif extern void myetheraddr(u_char *); @@ -565,10 +563,8 @@ tsec_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) switch (cmd) { case SIOCSIFADDR: ifp->if_flags |= IFF_UP; -#ifdef INET if (ifa->ifa_addr->sa_family == AF_INET) arp_ifinit(&sc->sc_ac, ifa); -#endif /* FALLTHROUGH */ case SIOCSIFFLAGS: if (ifp->if_flags & IFF_UP) { |