diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-15 15:30:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-15 15:30:28 +0000 |
commit | 2015d209fa46faee097ea99b851b219819978e59 (patch) | |
tree | d374837bc6aeec081dc8e72df75fa7c85ac0aefa /etc | |
parent | 2e901dc83b326fe528bf7bfe06410322e7f7d09e (diff) | |
download | pfsense-2015d209fa46faee097ea99b851b219819978e59.zip pfsense-2015d209fa46faee097ea99b851b219819978e59.tar.gz |
MFC 11438
use -n so route won't try and resolve IPs
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index ef05848..f7e9fff 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -511,7 +511,7 @@ function find_interface_ip($interface) { } function guess_interface_from_ip($ipaddress) { - $ret = exec_command("/sbin/route get {$ipaddress} | /usr/bin/grep interface | /usr/bin/awk '{ print \$2 + $ret = exec_command("/sbin/route -n get {$ipaddress} | /usr/bin/grep interface | /usr/bin/awk '{ print \$2 ; };'"); return $ret; } |