Skip to contentSkip to conversation

batman-adv / mac-addresses without leading zeros

B.A.T.M.A.N. Bastian Bittorf 2 participants 2 messages Mar 12, 2008 – Mar 13, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 19 lines · Bastian Bittorf

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
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n