]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables: abort on empty interface specification
authorJan Engelhardt <jengelh@medozas.de>
Fri, 7 Jan 2011 11:26:59 +0000 (12:26 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 8 Jan 2011 00:58:45 +0000 (01:58 +0100)
commit5b1fecc7d017df093db7c667bcd1718e45b1df67
tree6f9f1e5e9bc9454c698be3ab81a09d9bebf38e61
parent7ac405297ec38449b30e3b05fd6bf2082fd3d803
iptables: abort on empty interface specification

Fiedler Roman brings to attention that if, in a faulty script,
"$some_variable" expands to an empty string, iptables should probably
catch this most likely undesired invocation. If no/all interfaces were
really desired, one can either omit -i completely, or use -i +.

References: http://marc.info/?l=netfilter&m=129439862903487&w=2
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
ip6tables.c
iptables.c