diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-03-06 00:50:05 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-03-06 00:51:20 -0600 |
commit | da2ec3361e9ab78d08bcc088b2f7c4e348847c3e (patch) | |
tree | f1c4806c5468a2bb3d13971a5819b9921cee3e88 /etc | |
parent | ebe2b407b330ef3ad32600c36da9752d162e3681 (diff) | |
download | pfsense-da2ec3361e9ab78d08bcc088b2f7c4e348847c3e.zip pfsense-da2ec3361e9ab78d08bcc088b2f7c4e348847c3e.tar.gz |
bring up appropriate interface for GRE/GIF. Ticket #3281
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index cfbbfb6..4fc05b9 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -891,7 +891,7 @@ function interface_gre_configure(&$gre, $grekey = "") { if(is_ipaddrv6($gre['tunnel-remote-addr'])) file_put_contents("{$g['tmp_path']}/{$greif}_routerv6", $gre['tunnel-remote-addr']); - interfaces_bring_up($laggif); + interfaces_bring_up($greif); return $greif; } @@ -1005,7 +1005,7 @@ function interface_gif_configure(&$gif, $gifkey = "") { mwexec("/sbin/route change -host -inet6 " . escapeshellarg($gif['remote-addr']) . " {$realifgw}"); } - interfaces_bring_up($laggif); + interfaces_bring_up($gifif); return $gifif; } |