summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-02-25 13:46:22 +0100
committersmos <seth.mos@dds.nl>2012-02-25 13:46:22 +0100
commitf55b6cbbb1e50430e9eff0f0772c7721aaafcaa0 (patch)
tree26dd3f10683044cd0f0cb708762b5eb7cdb8caa9
parentd500e296d8d04ef3d74304755cb532d4a188b046 (diff)
downloadpfsense-f55b6cbbb1e50430e9eff0f0772c7721aaafcaa0.zip
pfsense-f55b6cbbb1e50430e9eff0f0772c7721aaafcaa0.tar.gz
Write out a default router file for the srd interface
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 3f32be3..bab983e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3048,8 +3048,11 @@ function interface_6rd_configure($interface = "wan"){
srd0: flags=1<UP> metric 0 mtu 1280
srd: v4plen 20 pfix fc00:0:0:1000:: plen 52 braddr 10.0.0.1
*/
- return 0;
+ /* write out a default router file */
+ file_put_contents("{$g['tmp_path']}/{$wanif}_routerv6", "::1 -ifp srd0\n");
+
+ return 0;
}
function interface_dhcpv6_configure($interface = "wan") {
OpenPOWER on IntegriCloud