Add support for ARPHRD_NONE
This commit is contained in:
parent
8ffab45698
commit
3d70697e4c
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue