diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-09 23:40:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-09 23:40:41 +0000 |
commit | 588a183b0e58f09932ffef35cc0003cca2313aba (patch) | |
tree | 07f8baa177cd888a099370e301cd6007806f7e27 /etc/inc | |
parent | 7075d40ad61e5016e83823afc29473bb7b91c334 (diff) | |
download | pfsense-588a183b0e58f09932ffef35cc0003cca2313aba.zip pfsense-588a183b0e58f09932ffef35cc0003cca2313aba.tar.gz |
Move wan gateway to interfaces->wan->gateway
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 2 | ||||
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 7d41bc5..c117079 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -580,7 +580,7 @@ function convert_config() { /* Default route moved */ if (isset($config['interfaces']['wan']['gateway'])) if ($config['interfaces']['wan']['gateway'] <> "") - $config['system']['gateway'] = $config['interfaces']['wan']['gateway']; + $config['interfaces']['wan']['gateway'] = $config['interfaces']['wan']['gateway']; unset($config['interfaces']['wan']['gateway']); /* Queues are no longer interface specific */ diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 339d870..d6433f0 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -713,7 +713,7 @@ function interfaces_wan_configure() { } /* install default route */ mwexec("/sbin/route delete default"); - mwexec("/sbin/route add default " . escapeshellarg($config['system']['gateway'])); + mwexec("/sbin/route add default " . escapeshellarg($config['interfaces']['wan']['gateway'])); /* resync pf (done automatically for DHCP/PPPoE/PPTP) */ filter_configure(); |