summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-07-11 11:42:10 -0400
committerjim-p <jimp@pfsense.org>2016-07-11 12:44:44 -0400
commitb5baa9e7a17266e794514747e7046eba6acb1db7 (patch)
treef08fe5be284fd5a92ab9bdbb022a7045182853d6 /src/etc
parent82b8011b321d6e2be4906b42839dcad69c72365f (diff)
downloadpfsense-b5baa9e7a17266e794514747e7046eba6acb1db7.zip
pfsense-b5baa9e7a17266e794514747e7046eba6acb1db7.tar.gz
Remove GRE link flag options from GUI/backend. Keep link1 as it was also used to add an explicit static route, though the GUI previous GUI option name wasn't related to that at all. Updated GUI description to match reality. Ticket #6586
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/interfaces.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index fcec2f3..d065bcb 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -876,15 +876,6 @@ function interface_gre_configure(&$gre, $grekey = "") {
} else {
mwexec("/sbin/ifconfig {$greif} " . escapeshellarg($gre['tunnel-local-addr']) . " " . escapeshellarg($gre['tunnel-remote-addr']) . " netmask " . gen_subnet_mask($gre['tunnel-remote-net']));
}
- if (isset($gre['link0'])) {
- pfSense_interface_flags($greif, IFF_LINK0);
- }
- if (isset($gre['link1'])) {
- pfSense_interface_flags($greif, IFF_LINK1);
- }
- if (isset($gre['link2'])) {
- pfSense_interface_flags($greif, IFF_LINK2);
- }
if ($greif) {
interfaces_bring_up($greif);
OpenPOWER on IntegriCloud