diff options
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; |