git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad509b4
)
examples/l3fwd: fix option parsing
author
John McNamara
<john.mcnamara@intel.com>
Mon, 2 Nov 2015 17:45:51 +0000
(17:45 +0000)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 02:21:13 +0000
(
03:21
+0100)
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 <john.mcnamara@intel.com>
Acked-by: Andrey Chilikin <andrey.chilikin@intel.com>
examples/l3fwd/main.c
patch
|
blob
|
history
diff --git
a/examples/l3fwd/main.c
b/examples/l3fwd/main.c
index
1f3e5c6
..
9a7fd8c
100644
(file)
--- a/
examples/l3fwd/main.c
+++ b/
examples/l3fwd/main.c
@@
-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);
}