summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_among.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libebt_among.c')
-rw-r--r--extensions/libebt_among.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/libebt_among.c b/extensions/libebt_among.c
index 7eb898f9..c607a775 100644
--- a/extensions/libebt_among.c
+++ b/extensions/libebt_among.c
@@ -152,10 +152,9 @@ static int bramong_parse(int c, char **argv, int invert,
xtables_error(PARAMETER_PROBLEM,
"File should only contain one line");
optarg[flen-1] = '\0';
- /* fall through */
+ break;
case AMONG_DST:
- if (c == AMONG_DST)
- dst = true;
+ dst = true;
/* fall through */
case AMONG_SRC:
break;