diff options
Diffstat (limited to 'src/usr/local/www/system_routes_edit.php')
-rw-r--r-- | src/usr/local/www/system_routes_edit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/system_routes_edit.php b/src/usr/local/www/system_routes_edit.php index b86522e..7a52df9 100644 --- a/src/usr/local/www/system_routes_edit.php +++ b/src/usr/local/www/system_routes_edit.php @@ -245,8 +245,9 @@ $section = new Form_Section('Edit Route Entry'); $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'); + $pconfig['network'], + 'ALIASV4V6' +))->addMask('network_subnet', $pconfig['network_subnet'])->setHelp('Destination network for this static route'); $allGateways = array_combine( array_map(function($g){ return $g['name']; }, $a_gateways), |