From fb540e666feb02474aaae0a41b7a813f8978d32a Mon Sep 17 00:00:00 2001 From: zhouxj25 Date: Thu, 17 Jan 2019 09:15:03 +0800 Subject: [PATCH] Update parse.c delete redundant code --- examples/l4fwd/parse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/l4fwd/parse.c b/examples/l4fwd/parse.c index 40adee4..9aada47 100644 --- a/examples/l4fwd/parse.c +++ b/examples/l4fwd/parse.c @@ -834,7 +834,6 @@ parse_app_options(int argc, char **argv, struct netbe_cfg *cfg, "for option: \'%c\'\n", __func__, optarg, opt); ctx_prm->flags = v; - } else if (opt == OPT_SHORT_PROMISC) { } else if (opt == OPT_SHORT_PROMISC) { cfg->promisc = 1; } else if (opt == OPT_SHORT_RBUFS) {