summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-09-21 19:48:27 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-09-21 19:48:27 +0000
commit551e91596cfa33780bfccef562078ce4d18b42df (patch)
tree5c716c5ee234039d4f8c94010612aad7bab5d263 /etc
parent778b61288426bce120ae124de2cadd448dfa9df3 (diff)
downloadpfsense-551e91596cfa33780bfccef562078ce4d18b42df.zip
pfsense-551e91596cfa33780bfccef562078ce4d18b42df.tar.gz
Remove dependency on WAN having the default route.
Also failed because it did not use the full path to /sbin
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index afe79fe..fffc154 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -3346,10 +3346,6 @@ function update_filter_reload_status($text) {
function get_interface_gateway($interface) {
global $config, $g;
- /* if wan is requested, return it */
- if($interface == "wan")
- return str_replace("\n", "", `route -n get default | grep gateway | awk '{ print $2 }'`);
-
$iflist = get_configured_interface_with_descr();
/*
* XXX: This is silly at first, but we may be called with the interface
OpenPOWER on IntegriCloud