| Fix for Ethernet address output format in FreeBSD NDPby 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.
Patch download: 
 FreeBSD bugtrack ID: 169075
 
 2012.06.14
 
 
 
PS. 
Patch is commited to RELENG_7.
There is not problem with RELENG_8 since it uses link_ntoa().
 2012.07.03
 
 
 FB
  or mail alterX@alter.org.ua (remove X)
   
  Share     
 |