diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-19 14:39:23 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-19 14:39:23 +0000 |
commit | 52d6ad5136ff5c143b976e18f0478fd7844e7d75 (patch) | |
tree | ce6c05d55ea2819c5a7514ea1acbec496ba0f7ce /etc | |
parent | 0847d1b9042a2c034b352dcf1083c84fafee8885 (diff) | |
download | pfsense-52d6ad5136ff5c143b976e18f0478fd7844e7d75.zip pfsense-52d6ad5136ff5c143b976e18f0478fd7844e7d75.tar.gz |
Oops, use tunnel address not network.
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 e6ef022..9853ffa 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -365,7 +365,7 @@ function interface_gre_configure(&$gre) mwexec("/sbin/ifconfig {$greif} up"); mwexec("/sbin/route add {$gre['remote-addr']}/{$gre['tunnel-remote-net']} {$realifip}"); - file_put_contents("/tmp/{$greif}_router", $gre['tunnel-remote-net']); + file_put_contents("/tmp/{$greif}_router", $gre['tunnel-remote-addr']); return $greif; } @@ -416,7 +416,7 @@ function interface_gif_configure(&$gif) mwexec("/sbin/ifconfig {$gifif} up"); mwexec("/sbin/route add {$gif['remote-addr']}/{$gif['tunnel-remote-net']} {$realifip}"); - file_put_contents("/tmp/{$gifif}_router", $gif['tunnel-remote-net']); + file_put_contents("/tmp/{$gifif}_router", $gif['tunnel-remote-addr']); return $gifif; } |