added gateway IP into wan vip description
This commit is contained in:
@@ -138,6 +138,7 @@ foreach ($config['virtualip']['vip'] as $i => $vip) {
|
||||
if ($vip['interface'] == $wanInterface) {
|
||||
$config['virtualip']['vip'][$i]['subnet_bits'] = $wanSubnet;
|
||||
$config['virtualip']['vip'][$i]['subnet'] = $wanIP;
|
||||
$config['virtualip']['vip'][$i]['descr'] = "VIP WAN (GW: $gatewayIP)";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user