summaryrefslogtreecommitdiff
path: root/lib/librte_pmd_bond/rte_eth_bond_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_pmd_bond/rte_eth_bond_args.c')
-rw-r--r--lib/librte_pmd_bond/rte_eth_bond_args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librte_pmd_bond/rte_eth_bond_args.c b/lib/librte_pmd_bond/rte_eth_bond_args.c
index 4114833..ca4de38 100644
--- a/lib/librte_pmd_bond/rte_eth_bond_args.c
+++ b/lib/librte_pmd_bond/rte_eth_bond_args.c
@@ -254,7 +254,8 @@ bond_ethdev_parse_bond_mac_addr_kvarg(const char *key __rte_unused,
return -1;
/* Parse MAC */
- return cmdline_parse_etheraddr(NULL, value, extra_args);
+ return cmdline_parse_etheraddr(NULL, value, extra_args,
+ sizeof(struct ether_addr));
}
int