diff options
author | Sergey Popovich <popovich_sergei@mail.ua> | 2014-11-17 17:08:37 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-03-20 19:01:02 +0100 |
commit | 8403c62e3d7b6c303d6c5e5811e64721e9855af0 (patch) | |
tree | dd2aad895b49bd1f489551de2149fc0ee785a7a8 /tests/setlist.t.list2 | |
parent | 2ca2559e391448590532e8b87a135ae27902949f (diff) |
netfilter: ipset: Check IPSET_ATTR_PORT only once
We do not need to check tb[IPSET_ATTR_PORT] != NULL before
retrieving port, as this attribute is known to exist due to
ip_set_attr_netorder() returning true only when attribute
exists and it is in network byte order.
Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tests/setlist.t.list2')
0 files changed, 0 insertions, 0 deletions