Do not attempt to pass -llinfo to route.

llinfo was removed, and the command fails because of it.
This commit is contained in:
maya 2016-11-27 19:04:40 +00:00
parent 787783f1e0
commit 506421b347

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: dhclient-script,v 1.2 2015/02/26 09:59:55 roy Exp $
# $NetBSD: dhclient-script,v 1.3 2016/11/27 19:04:40 maya Exp $
ENTERHOOKS=/etc/dhclient-enter-hooks
EXITHOOKS=/etc/dhclient-exit-hooks
@ -85,7 +85,7 @@ delete_old_routes() {
shift; shift
done
route -n flush -inet -llinfo -host
route -n flush -inet -host
}
# Invoke the local dhcp client enter hooks, if they exist.