diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-21 13:50:21 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-21 13:50:21 -0200 |
commit | 0d3cbb5e2bf083c4bb6ffdcfb53cedd5e15e2171 (patch) | |
tree | 200cbce7ccb27e071f19cb805705042b9b406d8c /sbin/ipfw | |
parent | 91c3b9f753e70bac8d9d26212a78102673b0da60 (diff) | |
download | FreeBSD-src-0d3cbb5e2bf083c4bb6ffdcfb53cedd5e15e2171.zip FreeBSD-src-0d3cbb5e2bf083c4bb6ffdcfb53cedd5e15e2171.tar.gz |
Use , to separate MAC address pair items. IPFW is already designed to deal with it
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/tables.c b/sbin/ipfw/tables.c index e98fc15..39e4dbc 100644 --- a/sbin/ipfw/tables.c +++ b/sbin/ipfw/tables.c @@ -1168,7 +1168,7 @@ tentry_fill_key_type(char *arg, ipfw_obj_tentry *tentry, uint8_t type, struct mac_entry *mac; dst = arg; - if ((p = strchr(arg, ' ')) == NULL) + if ((p = strchr(arg, ',')) == NULL) errx(EX_DATAERR, "bad mac address pair: %s", arg); *p = '\0'; src = p + 1; |