update gateway $interface to $wanInterface
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user