From 3d70697e4cb35f51f776791590bd6f81a46cc66e Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Tue, 19 Apr 2011 09:57:14 +0200 Subject: Add support for ARPHRD_NONE --- lib/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils.c b/lib/utils.c index 4d29ebb..b507608 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -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) -- cgit v1.2.1