summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSergey Popovich <popovich_sergei@mail.ua>2014-11-17 11:50:37 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-03-19 16:26:31 +0100
commit2e3e37f90595d51f687e81ff4d81e28667d2f414 (patch)
treead91afca71815bdaf86740b82e116eaa2564db06 /utils
parente9d2792d31bc13145d94106bc956e00d4af26e7a (diff)
netfilter: ipset: Return ipset error instead of bool
Statement ret = func1() || func2() returns 0 when both func1() and func2() return 0, or 1 if func1() or func2() returns non-zero. However in our case func1() and func2() returns error code on failure, so it seems good to propagate such error codes, rather than returning 1 in case of failure. Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions