update gateway $interface to $wanInterface

This commit is contained in:
2021-11-30 17:58:50 -05:00
parent 05dc7552a2
commit 8ad302e5cc

View File

@@ -140,7 +140,7 @@ $config['interfaces'][$wanInterface]['gateway'] = $gatewayName;
# setup gateway
$gwCount = count($config['gateways']['gateway_item']);
$config['gateways']['gateway_item'][$gwCount]['gateway'] = $gatewayIP;
$config['gateways']['gateway_item'][$gwCount]['interface'] = $interface;
$config['gateways']['gateway_item'][$gwCount]['interface'] = $wanInterface;
$config['gateways']['gateway_item'][$gwCount]['name'] = $gatewayName;
$config['gateways']['gateway_item'][$gwCount]['ipprotocol'] = 'inet';
$config['gateways']['gateway_item'][$gwCount]['monitor_disable'] = 1;