summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
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 11:42:10 -0400
commit43c40296fef87bd6472e9616102cea1c4e7f36e3 (patch)
treec045f122bc1d7021b02d8f0a6f7c1b6317aa4bb6 /src/etc/inc/interfaces.inc
parentb1be0cdc0c9b0bc0403d388cd5b94b936d92cc94 (diff)
downloadpfsense-43c40296fef87bd6472e9616102cea1c4e7f36e3.zip
pfsense-43c40296fef87bd6472e9616102cea1c4e7f36e3.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/inc/interfaces.inc')
-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 bb15d96..1639353 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