summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_routes_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-10-06 18:15:06 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-10-06 18:15:06 -0400
commit900e52f7fea4b750ef6b34b0161dcd6c257a4383 (patch)
tree341c23b79212660e271d86cf7b118fd1fb0d4e94 /src/usr/local/www/system_routes_edit.php
parent4670142b31d3f5f499611c08aeb8d090b49544b7 (diff)
downloadpfsense-900e52f7fea4b750ef6b34b0161dcd6c257a4383.zip
pfsense-900e52f7fea4b750ef6b34b0161dcd6c257a4383.tar.gz
Fixed #5272
Diffstat (limited to 'src/usr/local/www/system_routes_edit.php')
-rw-r--r--src/usr/local/www/system_routes_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_routes_edit.php b/src/usr/local/www/system_routes_edit.php
index 2a1abe8..d5fb02b 100644
--- a/src/usr/local/www/system_routes_edit.php
+++ b/src/usr/local/www/system_routes_edit.php
@@ -281,7 +281,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),
OpenPOWER on IntegriCloud