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:50:05 -0600 |
commit | 3945116d9cfd2775952cdadb206cd1a761b66ca1 (patch) | |
tree | 183d2a0341d24da78a1f65485a2956c16d422455 /etc | |
parent | f08d2ae75595e722858b414811ceb7af293ec33f (diff) | |
download | pfsense-3945116d9cfd2775952cdadb206cd1a761b66ca1.zip pfsense-3945116d9cfd2775952cdadb206cd1a761b66ca1.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 d40bbf0..284dbff 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -884,7 +884,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; } @@ -995,7 +995,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; } |