summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/DPPD-PROX')
-rw-r--r--VNFs/DPPD-PROX/parse_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/parse_utils.c b/VNFs/DPPD-PROX/parse_utils.c
index 52337ffb..32db5de6 100644
--- a/VNFs/DPPD-PROX/parse_utils.c
+++ b/VNFs/DPPD-PROX/parse_utils.c
@@ -430,6 +430,8 @@ int parse_mac(struct ether_addr *ether_addr, const char *str2)
return -1;
uint8_t ret = rte_strsplit(str, strlen(str), addr_parts, 7, ':');
+ if (ret != 6)
+ ret = rte_strsplit(str, strlen(str), addr_parts, 7, ' ');
if (ret != 6) {
set_errf("Invalid MAC address format");