diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-03 16:45:17 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-03 16:46:47 +0000 |
commit | 61b67ab3917e88233fb828c203492a054752db9f (patch) | |
tree | 5ed4b6f062bc586687b01aec96348e415f5cfa35 /etc/inc/interfaces.inc | |
parent | da1791816eefa56e75187dca4fed087dfdfb2c93 (diff) | |
download | pfsense-61b67ab3917e88233fb828c203492a054752db9f.zip pfsense-61b67ab3917e88233fb828c203492a054752db9f.tar.gz |
Propperly fix this.
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 28e6b2a..8765bac 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -575,7 +575,7 @@ function interface_gre_configure(&$gre) { log_error("Could not bring greif up -- variable not defined."); if (isset($gre['link1']) && $gre['link1']) - mwexec("/sbin/route add {$gre['tunnel-remote-addr']}/{$gre['tunnel-remote-net']} {$gre[tunnel-local-addr']}"); + mwexec("/sbin/route add {$gre['tunnel-remote-addr']}/{$gre['tunnel-remote-net']} {$gre['tunnel-local-addr']}"); file_put_contents("{$g['tmp_path']}/{$greif}_router", $gre['tunnel-remote-addr']); return $greif; @@ -631,7 +631,7 @@ function interface_gif_configure(&$gif) { /* XXX: Needed?! */ //mwexec("/sbin/route add {$gif['tunnel-remote-addr']}/{$gif['tunnel-remote-net']} -iface {$gifif}"); - file_put_contents("{$g['tmp_path']}/{$gifif}_router", $gif['tunnel-remote-addr']"); + file_put_contents("{$g['tmp_path']}/{$gifif}_router", $gif['tunnel-remote-addr']); return $gifif; } |