]> git.proxmox.com Git - mirror_frr.git/commitdiff
Centos5 Build problem fixed
authorFatih USTA <fatihusta86@gmail.com>
Tue, 14 Nov 2017 09:36:05 +0000 (12:36 +0300)
committerGitHub <noreply@github.com>
Tue, 14 Nov 2017 09:36:05 +0000 (12:36 +0300)
zebra/if_netlink.c

index 39f005e55a60b16fbe8bc09a964d0ae9744dfabf..af17e49231fa5b6278d1c5656fb1f9c7ce93104c 100644 (file)
@@ -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;