mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 13:22:48 +00:00
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
This commit is contained in:
parent
1e67a3e2cc
commit
9761cdd839
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179689
@ -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="
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user