bugfix: OTA Upgrade fails with static WAN.

Wan interface settings are not correctly copied
over after an OTA causing node-setup to fail
when using a static WAN ip.

fixes->AREDN🎫226

Change-Id: I494c05bc0047f1db4c1452cbdbd8e236f4fcd945
This commit is contained in:
Conrad Lara - KG6JEI 2017-04-20 12:41:09 -07:00
parent 60e2310917
commit e5fc675cfc
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ foreach $variable( sort keys %defaultcfg )
}
# Specific settings for variables that are not in the default config but are added by the system
foreach $variable( 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant' )
foreach $variable( 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant', 'wan_gw', 'wan_ip', 'wan_mask' )
{
if ( defined $cfg{$variable} )
{