summaryrefslogtreecommitdiffstats
path: root/usr/local/www/easyrule.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-02-14 22:27:46 +0100
committerSeth Mos <seth.mos@dds.nl>2011-02-14 22:27:46 +0100
commitbd40781aaa7aa947e924f21e2845d87be5993bbd (patch)
treecef2222d56ce8069ba83c078f662d7a3fdab8274 /usr/local/www/easyrule.php
parentac5eb23ba8f9005a2e76015e6f9e41a437127e14 (diff)
downloadpfsense-bd40781aaa7aa947e924f21e2845d87be5993bbd.zip
pfsense-bd40781aaa7aa947e924f21e2845d87be5993bbd.tar.gz
add a ipprotocol variable to the easy add rules
Diffstat (limited to 'usr/local/www/easyrule.php')
-rw-r--r--usr/local/www/easyrule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/easyrule.php b/usr/local/www/easyrule.php
index 5f7a4ec..87c6a64 100644
--- a/usr/local/www/easyrule.php
+++ b/usr/local/www/easyrule.php
@@ -45,10 +45,10 @@ if ($_GET && isset($_GET['action'])) {
switch ($_GET['action']) {
case 'block':
/* Check that we have a valid host */
- easyrule_parse_block($_GET['int'], $_GET['src']);
+ easyrule_parse_block($_GET['int'], $_GET['src'], $_GET['ipproto']);
break;
case 'pass':
- easyrule_parse_pass($_GET['int'], $_GET['proto'], $_GET['src'], $_GET['dst'], $_GET['dstport']);
+ easyrule_parse_pass($_GET['int'], $_GET['proto'], $_GET['src'], $_GET['dst'], $_GET['dstport'], $_GET['ipproto']);
break;
}
}
OpenPOWER on IntegriCloud