summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-10 05:19:37 +0000
committerBill Marquette <billm@pfsense.org>2005-03-10 05:19:37 +0000
commit88f66e13fc2e8b28b5371145034a77e8d0db27f8 (patch)
tree98ec59c841badcbc25575368cba5e995f8a5fa07 /etc/inc/interfaces.inc
parent2f948e1c2af0c877bcc0770fb7101805234c2831 (diff)
downloadpfsense-88f66e13fc2e8b28b5371145034a77e8d0db27f8.zip
pfsense-88f66e13fc2e8b28b5371145034a77e8d0db27f8.tar.gz
Move default gateway out of wan config to system config (leave in gui though)
Remove scheduler config from interfaces Bump config file version to 1.5
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 313c967..96d4a87 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -391,7 +391,7 @@ function interfaces_wan_configure() {
}
/* install default route */
mwexec("/sbin/route delete default");
- mwexec("/sbin/route add default " . escapeshellarg($wancfg['gateway']));
+ mwexec("/sbin/route add default " . escapeshellarg($config['system']['gateway']));
/* resync ipfilter (done automatically for DHCP/PPPoE/PPTP) */
filter_resync();
OpenPOWER on IntegriCloud