summaryrefslogtreecommitdiffstats
path: root/iptables-multi.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-03-24 22:35:10 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-03-24 22:35:10 +0100
commitcdf51d0183213c4bcac9ef4818155c1d3fbb897e (patch)
treea60b87729ea3c20f7b5983ac9ff09e0df24b9ac4 /iptables-multi.c
parented7925b77010dd17531ea0424b49d2b72af4add9 (diff)
iptables-multi: support "iptables-static" as a callable name
iptables multi-purpose version: unknown applet name iptables-static Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'iptables-multi.c')
-rw-r--r--iptables-multi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-multi.c b/iptables-multi.c
index 7ade3335..28c1737c 100644
--- a/iptables-multi.c
+++ b/iptables-multi.c
@@ -17,7 +17,8 @@ int main(int argc, char **argv) {
} else {
progname = basename(argv[0]);
- if (!strcmp(progname, "iptables"))
+ if (!strcmp(progname, "iptables") ||
+ strcmp(progname, "iptables-static") == 0)
return iptables_main(argc, argv);
if (!strcmp(progname, "iptables-save"))