summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroy@uberlaptop.marples.name <roy@uberlaptop.marples.name>2012-03-21 19:11:07 +0000
committerroy@uberlaptop.marples.name <roy@uberlaptop.marples.name>2012-03-21 19:11:07 +0000
commitba0bc18bcbaaa4de645143fd8e809a07dda34306 (patch)
treed5d1480ee763929755e6b8699338df58ecba2167
parentc1412cc52a26fc893752c73b3ca27351bab49a63 (diff)
downloaddhcpcd-ba0bc18bcbaaa4de645143fd8e809a07dda34306.tar.xz
FreeBSD 7 does not support IFT_INFINIBAND
-rw-r--r--net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net.c b/net.c
index c69d0097..14322b19 100644
--- a/net.c
+++ b/net.c
@@ -449,9 +449,11 @@ discover_interfaces(int argc, char * const *argv)
case IFT_IEEE1394:
ifp->family = ARPHRD_IEEE1394;
break;
+#ifdef IFT_INFINIBAND
case IFT_INFINIBAND:
ifp->family = ARPHRD_INFINIBAND;
break;
+#endif
}
ifp->hwlen = sdl->sdl_alen;
#ifndef CLLADDR