Hello Bastian,
the output comes from ether_ntoa(), but i personally like the padded output more, too. ;)
So the latest revision should print pretty MACs. :) best regards, Simon
On Wed, Mar 12, 2008 at 03:00:58PM +0000, Bastian Bittorf wrote:
during batch/debug-mode the output of all mac-adresses is without leading zeros, e.g.
01:02:03:04:05:06 = 1:2:3:4:5:6
we would like to replace mac-addresses with hostnames [1] for better understanding of the debug-output. Would it be a great problem to strictly output full mac-addresses?
bye, Bastian Bittorf
[1] each router 8-) has a list with mac = ip = hostname _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n