summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih USTA <fatihusta86@gmail.com>2017-11-14 12:36:05 +0300
committerGitHub <noreply@github.com>2017-11-14 12:36:05 +0300
commit4268e09e2f1d6c3dfb155aee4bbed794d53ed336 (patch)
treec05f7a0035ce3ef2c117feb577960298db88fdd1
parent7b56069db51fe220c3159019a3b95261965c6988 (diff)
Centos5 Build problem fixed
-rw-r--r--zebra/if_netlink.c2
1 files changed, 2 insertions, 0 deletions
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;