diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-02-14 22:27:46 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-02-14 22:27:46 +0100 |
commit | bd40781aaa7aa947e924f21e2845d87be5993bbd (patch) | |
tree | cef2222d56ce8069ba83c078f662d7a3fdab8274 /usr/local/www/easyrule.php | |
parent | ac5eb23ba8f9005a2e76015e6f9e41a437127e14 (diff) | |
download | pfsense-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.php | 4 |
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; } } |