diff options
-rw-r--r-- | usr.sbin/bootpd/hwaddr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootpd/hwaddr.c b/usr.sbin/bootpd/hwaddr.c index 809abd63f1a..4f3e88e2153 100644 --- a/usr.sbin/bootpd/hwaddr.c +++ b/usr.sbin/bootpd/hwaddr.c @@ -134,8 +134,8 @@ setarp(s, ia, ha, len) extern char *inet_ntoa(); a = inet_ntoa(*ia); - snprintf(buf, sizeof(buf), "arp -d %s; arp -s %s %s temp", - a, a, haddrtoa(ha, len)); + snprintf(buf, sizeof(buf), "(arp -d %s; arp -s %s %s temp) " + "</dev/null >/dev/null 2>&1", a, a, haddrtoa(ha, len)); if (debug > 2) report(LOG_INFO, "%s", buf); status = system(buf); |