diff options
author | glebius <glebius@FreeBSD.org> | 2015-05-02 20:31:27 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-05-02 20:31:27 +0000 |
commit | 1ca5d173abc8391e7e3f7e9fc63ec652fed67879 (patch) | |
tree | 94f32372656d5a1fc2f5933ef4f64dec7ea21102 /usr.sbin/rtsold | |
parent | 0a56d25a940698bb6f9ef0141c04ca245ccd6d94 (diff) | |
download | FreeBSD-src-1ca5d173abc8391e7e3f7e9fc63ec652fed67879.zip FreeBSD-src-1ca5d173abc8391e7e3f7e9fc63ec652fed67879.tar.gz |
Remove #ifdef IFT_FOO.
Submitted by: Guy Yur <guyyur gmail.com>
Diffstat (limited to 'usr.sbin/rtsold')
-rw-r--r-- | usr.sbin/rtsold/if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/rtsold/if.c b/usr.sbin/rtsold/if.c index 6274d0f..b8a90b6 100644 --- a/usr.sbin/rtsold/if.c +++ b/usr.sbin/rtsold/if.c @@ -247,9 +247,7 @@ lladdropt_length(struct sockaddr_dl *sdl) { switch (sdl->sdl_type) { case IFT_ETHER: -#ifdef IFT_IEEE80211 case IFT_IEEE80211: -#endif return (ROUNDUP8(ETHER_ADDR_LEN + 2)); default: return (0); @@ -265,9 +263,7 @@ lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt) switch (sdl->sdl_type) { case IFT_ETHER: -#ifdef IFT_IEEE80211 case IFT_IEEE80211: -#endif ndopt->nd_opt_len = (ROUNDUP8(ETHER_ADDR_LEN + 2)) >> 3; addr = (char *)(ndopt + 1); memcpy(addr, LLADDR(sdl), ETHER_ADDR_LEN); |