When printing MAC addresses, always use trailing zeroes.
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 5 Jul 2014 17:52:03 +0000 (18:52 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sat, 5 Jul 2014 19:00:50 +0000 (20:00 +0100)
commitdc55691ca7399bab28963f92e4c3dea9d6bf8eb1
tree18cd16a434e6bd76a89683ee2070028cc90061e1
parent3d730a40a42d9b238da8725438a612296dea3860
When printing MAC addresses, always use trailing zeroes.

tinc currently prints MAC addresses without trailing zeroes, for example:

    1:2:3:4:5:6

This looks weird and is inconsistent with how MAC addresses are
displayed everywhere else. This commit adds trailing zeroes, so the
above address will be printed as the following:

    01:02:03:04:05:06
src/subnet_parse.c