Open
Description
This should work:
a|A)
second_rev=8;
;;
c|C)
second_rev=e;
;;
e|E)
second_rev=c;
;;
*)
#impossible
die "MAC address \"${mac}\" is registered to the IEEE database, "\
"but the first octet (${first}${second}) is regarded as invalid. "\
"(probably a bug in this script...)"
By the way, why are odd numbers considered invalid? In other word, why the 8th bit of a MAC address cannot be binary 1?
Metadata
Metadata
Assignees
Labels
No labels