diff options
author | brooks <brooks@FreeBSD.org> | 2008-06-09 20:03:35 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-06-09 20:03:35 +0000 |
commit | 675039c5448207b250f3d108a4733babe3c408ba (patch) | |
tree | 38d9e82de14ae8267ec2aa693d187034f96dbcb7 /sbin/dhclient/dhclient-script | |
parent | fcffc805d8ec5c3c9faaa218023808e6d4f3149d (diff) | |
download | FreeBSD-src-675039c5448207b250f3d108a4733babe3c408ba.zip FreeBSD-src-675039c5448207b250f3d108a4733babe3c408ba.tar.gz |
Use the -n flag to route(8) when calling "route get". Otherwise we hang
for a long time if we get a lease, but DNS isn't working.
MFC after: 1 week
Diffstat (limited to 'sbin/dhclient/dhclient-script')
-rw-r--r-- | sbin/dhclient/dhclient-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script index f6da4f6..c457bf4 100644 --- a/sbin/dhclient/dhclient-script +++ b/sbin/dhclient/dhclient-script @@ -260,7 +260,7 @@ exit_with_hooks() { # commands that are available prior to /usr being mounted. is_default_interface() { - routeget="`route get -inet default`" + routeget="`route -n get -inet default`" oldifs="$IFS" IFS=" " |