diff options
-rw-r--r-- | usr.sbin/arp/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index d9509ae..d1bf4da 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -234,7 +234,7 @@ file(char *name) if ((p = strchr(line, '#')) != NULL) *p = '\0'; for (p = line; isblank(*p); p++); - if (*p == '\0') + if (*p == '\n' || *p == '\0') continue; i = sscanf(p, "%49s %49s %49s %49s %49s", arg[0], arg[1], arg[2], arg[3], arg[4]); |