summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorCharlie <root@pfsense.local>2009-01-22 02:32:36 -0800
committerCharlie <root@pfsense.local>2009-01-22 02:32:36 -0800
commitad8622208cf9c6f3978bc1a41f2c58b9deafe300 (patch)
tree0e1c702ee5015e82f76baa3826379046679d1f83 /usr/local/www/system_gateways_edit.php
parente31534731ec7de3d2599cf669e065b1ec52281a0 (diff)
downloadpfsense-ad8622208cf9c6f3978bc1a41f2c58b9deafe300.zip
pfsense-ad8622208cf9c6f3978bc1a41f2c58b9deafe300.tar.gz
allow IPv4 gateways to be added via AJAX
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index 9d64f01..15b60e1 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -158,6 +158,11 @@ if ($_POST) {
write_config();
+ if($_REQUEST['isAjax']) {
+ echo $_POST['name'];
+ exit;
+ }
+
header("Location: system_gateways.php");
exit;
}
OpenPOWER on IntegriCloud