From: Fatih USTA Date: Tue, 14 Nov 2017 09:36:05 +0000 (+0300) Subject: Centos5 Build problem fixed X-Git-Tag: frr-4.0-dev~150^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F1444%2Fhead;p=mirror%2Ffrr.git Centos5 Build problem fixed --- diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c index 39f005e55a..af17e49231 100644 --- a/zebra/if_netlink.c +++ b/zebra/if_netlink.c @@ -221,8 +221,10 @@ static enum zebra_link_type netlink_to_zebra_link_type(unsigned int hwt) return ZEBRA_LLT_IEEE802_TR; case ARPHRD_IEEE80211: return ZEBRA_LLT_IEEE80211; +#ifdef ARPHRD_IEEE802154 case ARPHRD_IEEE802154: return ZEBRA_LLT_IEEE802154; +#endif #ifdef ARPHRD_IP6GRE case ARPHRD_IP6GRE: return ZEBRA_LLT_IP6GRE;