diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-03 16:40:01 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-03 16:40:01 +0000 |
commit | 220b8f34767b048aafccbd3d76807890037582aa (patch) | |
tree | baf48680a136cb283f60ab5d03bed50de91b7723 | |
parent | f41c9fd56a23b92108a0d8e469e3bdfdfaf564bf (diff) | |
download | pfsense-220b8f34767b048aafccbd3d76807890037582aa.zip pfsense-220b8f34767b048aafccbd3d76807890037582aa.tar.gz |
Correct syntax.
-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 1ef7fe9..8d56fb0 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -576,7 +576,7 @@ function interface_gre_configure(&$gre) { if (isset($gre['link1']) && $gre['link1']) 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']); + 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; } |