]> granicus.if.org Git - libnl/commitdiff
Add support for ARPHRD_NONE
authorThomas Graf <tgraf@suug.ch>
Tue, 19 Apr 2011 07:57:14 +0000 (09:57 +0200)
committerThomas Graf <tgraf@suug.ch>
Tue, 19 Apr 2011 07:57:14 +0000 (09:57 +0200)
lib/utils.c

index 4d29ebb68d876757a49ccae4ada236d88f3d77f5..b5076089d12d04ba55217cf16ba4ebfc023164ef 100644 (file)
@@ -608,6 +608,9 @@ static const struct trans_tbl llprotos[] = {
 #ifdef ARPHRD_VOID
        __ADD(ARPHRD_VOID,void)
 #endif
+#ifdef ARPHRD_NONE
+       __ADD(ARPHRD_NONE,nohdr)
+#endif
 };
 
 char * nl_llproto2str(int llproto, char *buf, size_t len)