Revision 9103d9ee
Added by Seth Mos over 14 years ago
usr/local/www/system_routes_edit.php | ||
---|---|---|
107 | 107 |
if(is_ipaddrv6($_POST['network'])) { |
108 | 108 |
$osn = Net_IPv6::compress(gen_subnetv6($_POST['network'], $_POST['network_subnet'])) . "/" . $_POST['network_subnet']; |
109 | 109 |
} |
110 |
if(is_ipaddrv4($POST['network'])) { |
|
110 |
if(is_ipaddrv4($_POST['network'])) {
|
|
111 | 111 |
$osn = gen_subnet($_POST['network'], $_POST['network_subnet']) . "/" . $_POST['network_subnet']; |
112 | 112 |
} |
113 | 113 |
foreach ($a_routes as $route) { |
Also available in: Unified diff
Fix static routes, typo in the variable name