mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow ":" in the route destination network, otherwise an IPv6 address cannot be entered.
This commit is contained in:
parent
a326d8a152
commit
954202d033
@ -279,7 +279,7 @@ $section->addInput(new Form_IpAddress(
|
||||
'network',
|
||||
'Destination network',
|
||||
$pconfig['network']
|
||||
))->addMask('network_subnet', $pconfig['network_subnet'])->setPattern('[.a-zA-Z0-9_]+')->setHelp('Destination network for this static route');
|
||||
))->addMask('network_subnet', $pconfig['network_subnet'])->setPattern('[.a-zA-Z0-9_:]+')->setHelp('Destination network for this static route');
|
||||
|
||||
$allGateways = array_combine(
|
||||
array_map(function($g){ return $g['name']; }, $a_gateways),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user