summaryrefslogtreecommitdiff
path: root/extensions/libxt_cluster.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-01-08 03:02:37 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-01-08 03:02:37 +0100
commitd09b6d591ca7d7d7575cb6aa20384c9830f777ab (patch)
tree3d9527df4a44297eaaff6fee9e80d162e3befebe /extensions/libxt_cluster.c
parentfa503ad59f73d20d85f4cdf53324a01d2ad8591e (diff)
downloadiptables-d09b6d591ca7d7d7575cb6aa20384c9830f777ab.tar.gz
extensions: remove no longer necessary default: cases
Match and target parse functions now only get option characters they have defined themselves. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_cluster.c')
-rw-r--r--extensions/libxt_cluster.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/libxt_cluster.c b/extensions/libxt_cluster.c
index 15910455..c94741fc 100644
--- a/extensions/libxt_cluster.c
+++ b/extensions/libxt_cluster.c
@@ -134,8 +134,6 @@ cluster_parse(int c, char **argv, int invert, unsigned int *flags,
info->hash_seed = num;
*flags |= 1 << c;
break;
- default:
- return 0;
}
return 1;