summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-10-29 07:35:06 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-10-29 07:35:06 -0200
commit34e178135b252d6664d1ba47dc877e099033ca7f (patch)
treebf756011712163e3e7729774755f3c8c20991341 /usr
parentbb6291e0204ffe2828fe9c9425bdae9c8541fe54 (diff)
downloadpfsense-34e178135b252d6664d1ba47dc877e099033ca7f.zip
pfsense-34e178135b252d6664d1ba47dc877e099033ca7f.tar.gz
Revert "Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280"
Another solution will be implemented This reverts commit bb6291e0204ffe2828fe9c9425bdae9c8541fe54.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index f159cd6..0627e32 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -404,11 +404,6 @@ if ($_POST['apply']) {
} else if ($_POST) {
unset($input_errors);
-
- if (substr($wancfg['if'], 0, 3) == "gre" &&
- ($_POST['type'] != "none" || $_POST['type'] != "none"))
- $input_errors[] = gettext("You cannot set an IPv4 or IPv6 address to a GRE interface");
-
$pconfig = $_POST;
if (is_numeric("0x" . $_POST['track6-prefix-id--hex']))
$pconfig['track6-prefix-id'] = intval($_POST['track6-prefix-id--hex'], 16);
OpenPOWER on IntegriCloud