diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-12-22 09:11:45 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-12-23 21:29:34 +0100 |
commit | a63ab6b623f0c491ddd979b9d111b8c55e22d797 (patch) | |
tree | 58cedbc3dc71155d10639f912cc56e362b2d0527 /etc/inc/upgrade_config.inc | |
parent | e1f6e59e6fa4c59555d7bbd9c56ff8e19dac0f01 (diff) | |
download | pfsense-a63ab6b623f0c491ddd979b9d111b8c55e22d797.zip pfsense-a63ab6b623f0c491ddd979b9d111b8c55e22d797.tar.gz |
Fix variable name, this tagged all gateways as dynamic on upgrades.
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 586bc34..1410952 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -763,7 +763,7 @@ function upgrade_042_to_043() { if(! interface_has_gateway($ifname)) { continue; } - if(is_ipaddr($interface['gateway'])) { + if(is_ipaddr($config['interfaces'][$ifname]['gateway'])) { $config['gateways']['gateway_item'][$i]['gateway'] = $config['interfaces'][$ifname]['gateway']; $config['gateways']['gateway_item'][$i]['descr'] = "Interface $ifname Static Gateway"; } else { |