commit | 496904b62da9875cf3985eb5f2bed1707db620fe | [log] [tgz] |
---|---|---|
author | oliver@schinagl.nl <oliver@schinagl.nl> | Fri Nov 25 16:30:19 2016 +0100 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Tue Feb 07 10:54:32 2017 -0600 |
tree | 47b00f88557432bd84a33da9adc7069e6366cd13 | |
parent | 6fdb684c4228a25eb06ef0debe53e756d1d19adc [diff] |
net: cosmetic: Do not use magic values for ARP_HLEN Commit 674bb249825a ("net: cosmetic: Replace magic numbers in arp.c with constants") introduced a nice define to replace the magic value 6 for the ethernet hardware address. Replace more hardcoded instances of 6 which really reference the ARP_HLEN (iow the MAC/Hardware/Ethernet address). Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Joe Hershberger <joe.hershberger@ni.com>