diff options
author | Thomas Haller <thaller@redhat.com> | 2015-06-04 21:03:36 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-06-04 21:06:24 (GMT) |
commit | e206c255d8fff8b51938945c8f575750c418a95e (patch) | |
tree | f4c250fef2b90a17f8645b5fbd75f60b97a92a0d | |
parent | 1dbe738e1e45d97c5829569e3eedcd1c2a42f781 (diff) | |
download | libnl-e206c255d8fff8b51938945c8f575750c418a95e.zip libnl-e206c255d8fff8b51938945c8f575750c418a95e.tar.gz libnl-e206c255d8fff8b51938945c8f575750c418a95e.tar.bz2 |
utils: add missing link layer protocol translations
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | lib/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils.c b/lib/utils.c index 8b99c9f..82f14ac 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -629,6 +629,7 @@ int nl_str2nlfamily(const char *name) static const struct trans_tbl llprotos[] = { {0, "generic"}, + __ADD(ARPHRD_NETROM,netrom), __ADD(ARPHRD_ETHER,ether), __ADD(ARPHRD_EETHER,eether), __ADD(ARPHRD_AX25,ax25), @@ -654,6 +655,7 @@ static const struct trans_tbl llprotos[] = { __ADD(ARPHRD_HWX25,hwx25), __ADD(ARPHRD_CAN,can), __ADD(ARPHRD_PPP,ppp), + __ADD(ARPHRD_CISCO,cisco), __ADD(ARPHRD_HDLC,hdlc), __ADD(ARPHRD_LAPB,lapb), __ADD(ARPHRD_DDCMP,ddcmp), |