summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-03 16:45:17 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-03 16:46:47 +0000
commit61b67ab3917e88233fb828c203492a054752db9f (patch)
tree5ed4b6f062bc586687b01aec96348e415f5cfa35
parentda1791816eefa56e75187dca4fed087dfdfb2c93 (diff)
downloadpfsense-61b67ab3917e88233fb828c203492a054752db9f.zip
pfsense-61b67ab3917e88233fb828c203492a054752db9f.tar.gz
Propperly fix this.
-rw-r--r--etc/inc/interfaces.inc4
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;
}
OpenPOWER on IntegriCloud