summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-save.c
diff options
context:
space:
mode:
authorJiri Popelka <jpopelka@redhat.com>2014-03-14 12:52:47 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-03-17 12:47:42 +0100
commit991ad3874826d560efcf81c8422b1e9b5b935bbc (patch)
tree5759fcf546ff30a48292f2652f7bb9ddb2de607a /iptables/iptables-save.c
parent081d57839e91e18df38ed3e56b8a720677efcedc (diff)
iptables-{save,restore}: warn that -b/--binary isn't implemented
see also 296dca39be Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/iptables-save.c')
-rw-r--r--iptables/iptables-save.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c
index 2999c7f4..2c25b71f 100644
--- a/iptables/iptables-save.c
+++ b/iptables/iptables-save.c
@@ -138,6 +138,9 @@ iptables_save_main(int argc, char *argv[])
while ((c = getopt_long(argc, argv, "bcdt:", options, NULL)) != -1) {
switch (c) {
+ case 'b':
+ fprintf(stderr, "-b/--binary option is not implemented\n");
+ break;
case 'c':
show_counters = 1;
break;