summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-19 14:39:23 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-19 14:39:23 +0000
commit52d6ad5136ff5c143b976e18f0478fd7844e7d75 (patch)
treece6c05d55ea2819c5a7514ea1acbec496ba0f7ce /etc
parent0847d1b9042a2c034b352dcf1083c84fafee8885 (diff)
downloadpfsense-52d6ad5136ff5c143b976e18f0478fd7844e7d75.zip
pfsense-52d6ad5136ff5c143b976e18f0478fd7844e7d75.tar.gz
Oops, use tunnel address not network.
Diffstat (limited to 'etc')
-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 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;
}
OpenPOWER on IntegriCloud