summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_routes_edit.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-02-10 16:05:27 +0100
committerSeth Mos <seth.mos@dds.nl>2011-02-10 16:05:27 +0100
commit9103d9ee6c46a3fd36f2dfb5cd624a8e6a5366a8 (patch)
tree188842f0285a42339ce8ac9df1f8a1f0791c4fa7 /usr/local/www/system_routes_edit.php
parent6715c2a295ecdee663e5d185284c72dff815518e (diff)
downloadpfsense-9103d9ee6c46a3fd36f2dfb5cd624a8e6a5366a8.zip
pfsense-9103d9ee6c46a3fd36f2dfb5cd624a8e6a5366a8.tar.gz
Fix static routes, typo in the variable name
Diffstat (limited to 'usr/local/www/system_routes_edit.php')
-rwxr-xr-xusr/local/www/system_routes_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php
index 08deb77..5847011 100755
--- a/usr/local/www/system_routes_edit.php
+++ b/usr/local/www/system_routes_edit.php
@@ -107,7 +107,7 @@ if ($_POST) {
if(is_ipaddrv6($_POST['network'])) {
$osn = Net_IPv6::compress(gen_subnetv6($_POST['network'], $_POST['network_subnet'])) . "/" . $_POST['network_subnet'];
}
- if(is_ipaddrv4($POST['network'])) {
+ if(is_ipaddrv4($_POST['network'])) {
$osn = gen_subnet($_POST['network'], $_POST['network_subnet']) . "/" . $_POST['network_subnet'];
}
foreach ($a_routes as $route) {
OpenPOWER on IntegriCloud