Do not rely on ether_ntoa() when formatting mac addresses.
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 29 Jun 2013 13:07:29 +0000 (15:07 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 29 Jun 2013 13:10:07 +0000 (15:10 +0200)
commitbe44720d8b80add13448a297c9c1b3716ca38e4f
tree9747406514f55909ce92b03b13ff3af9546bb75e
parent88227a80c05cc305711160ba37e6c134654672a4
Do not rely on ether_ntoa() when formatting mac addresses.

The ether_ntoa() in libc does not include leading zeroes in the formatted
address, this causes the address to not get recognized by iptables 1.4.10
which expects a fixed length for mac strings.
iptables.c