diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-09-21 19:48:27 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-09-21 19:48:27 +0000 |
commit | 551e91596cfa33780bfccef562078ce4d18b42df (patch) | |
tree | 5c716c5ee234039d4f8c94010612aad7bab5d263 /etc | |
parent | 778b61288426bce120ae124de2cadd448dfa9df3 (diff) | |
download | pfsense-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.inc | 4 |
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 |