Fix for Ethernet address output format in FreeBSD NDP
by Alter (alterX@alter.org.ua (remove X))
The original version of ndp displays ehternet addresses without leading '0' characters in octets.
For example 00:01:ff:88:0a:0b is displayed as 0:1:ff:88:a:b. It is inconvenient both for human reading and
machine parsing. Such behavior appears due to '%x' format modified instead of '%2.2x'. Please, find patch below.
FreeBSD bugtrack ID: 169075
Patch is commited to RELENG_7.
There is not problem with RELENG_8 since it uses link_ntoa().
or mail alterX@alter.org.ua (remove X)