commit | a212e08e8e0a5c689e61dd175b6e99223dda835c | [log] [tgz] |
---|---|---|
author | Sergey Popovich <popovich_sergei@mail.ua> | Fri Jun 12 21:26:43 2015 +0200 |
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | Sun Jun 14 10:40:13 2015 +0200 |
tree | b9dcc3d73e3379556a9fe0fdec8ff3378443635c | |
parent | 2c227f278a92ca3a1515373cdf9cce3766433e40 [diff] |
netfilter: ipset: Make sure we always return line number on batch Even if we return with generic IPSET_ERR_PROTOCOL it is good idea to return line number if we called in batch mode. Moreover we are not always exiting with IPSET_ERR_PROTOCOL. For example hash:ip,port,net may return IPSET_ERR_HASH_RANGE_UNSUPPORTED or IPSET_ERR_INVALID_CIDR. Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>