basic/arphrd: stop discriminating against NETROM and CISCO
ARPHRD_NETROM was excluded, most likely just because it is protocol No. 0, and ARPHRD_CISCO was reported under its alias name "HDLC". Let's just allow defined aliases under the main name.
This commit is contained in:
@@ -2,7 +2,7 @@ BEGIN{
|
||||
print "const char *arphrd_to_name(int id) {"
|
||||
print " switch(id) {"
|
||||
}
|
||||
!/CISCO|NETROM/ {
|
||||
!/^HDLC$/ {
|
||||
printf " case ARPHRD_%s: return \"%s\";\n", $1, $1
|
||||
}
|
||||
END{
|
||||
|
||||
Reference in New Issue
Block a user