examples/l3fwd: fix option parsing

Fix minor, and non critical, copy and paste error in strncmp() of eth-dest
commandline argument.

Fixes: bd785f6f67 ("examples/l3fwd: make destination mac address configurable")

Signed-off-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Andrey Chilikin <andrey.chilikin@intel.com>
This commit is contained in:
John McNamara 2015-11-02 17:45:51 +00:00 committed by Thomas Monjalon
parent ad509b4ae3
commit 6f8cfdb1b9

View File

@ -2074,7 +2074,7 @@ parse_args(int argc, char **argv)
}
if (!strncmp(lgopts[option_index].name, CMD_LINE_OPT_ETH_DEST,
sizeof(CMD_LINE_OPT_CONFIG))) {
sizeof(CMD_LINE_OPT_ETH_DEST))) {
parse_eth_dest(optarg);
}