examples/l3fwd: fix eth-dest commandline strncmp size
PATCH 1/1 examples/l3fwd: fix eth-dest commandline strncmp size
Fix minor, and non critical, copy and paste error in strncmp() of eth-dest commandline argument.
Fixes bd785f6f6791 ("examples/l3fwd: make destination mac address configurable")
Signed-off-by John McNamara <[email protected]>
--- examples/l3fwd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
examples/l3fwd/main.c +1 -1
@@ -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); }
Signature · 1 line
1.8.1.4
Quoted 9 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of John McNamara
Sent: Monday, November 2, 2015 5:46 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] examples/l3fwd: fix eth-dest commandline strncmp size
Quoted 7 lines
Fix minor, and non critical, copy and paste error in
strncmp()of eth-dest commandline argument.Fixes bd785f6f6791 ("examples/l3fwd: make destination mac addressconfigurable")
Signed-off-by John McNamara <[email protected]>
Acked-by Andrey Chilikin <[email protected]>
Thomas Monjalon
AppliedQuoted 8 lines
Quoted 7 lines
Fix minor, and non critical, copy and paste error in
strncmp()of eth-dest commandline argument.Fixes bd785f6f6791 ("examples/l3fwd: make destination mac addressconfigurable")
Signed-off-by John McNamara <[email protected]>Acked-by Andrey Chilikin <[email protected]>
Applied, thanks