diff options
author | Joe Perches <joe@perches.com> | 2018-03-20 10:35:47 -0700 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2018-04-10 20:16:06 +0200 |
commit | 86f11b1cfc5832ba32cb8dd4474b18671a9f1e08 (patch) | |
tree | 71f202d36b466d140b7bc0c29a91470c300a229e /tests/ipportiphash.t | |
parent | a2620a29605b84edfeac45c203f15a15b21f4cdf (diff) |
netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp
To make the test a bit clearer and to reduce object size a little.
Miscellanea:
o remove now unnecessary static const array
$ size ip_set_hash_mac.o*
text data bss dec hex filename
22822 4619 64 27505 6b71 ip_set_hash_mac.o.allyesconfig.new
22932 4683 64 27679 6c1f ip_set_hash_mac.o.allyesconfig.old
10443 1040 0 11483 2cdb ip_set_hash_mac.o.defconfig.new
10507 1040 0 11547 2d1b ip_set_hash_mac.o.defconfig.old
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tests/ipportiphash.t')
0 files changed, 0 insertions, 0 deletions