diff options
author | smos <seth.mos@dds.nl> | 2012-02-25 13:46:22 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-02-25 13:46:22 +0100 |
commit | f55b6cbbb1e50430e9eff0f0772c7721aaafcaa0 (patch) | |
tree | 26dd3f10683044cd0f0cb708762b5eb7cdb8caa9 /etc/inc | |
parent | d500e296d8d04ef3d74304755cb532d4a188b046 (diff) | |
download | pfsense-f55b6cbbb1e50430e9eff0f0772c7721aaafcaa0.zip pfsense-f55b6cbbb1e50430e9eff0f0772c7721aaafcaa0.tar.gz |
Write out a default router file for the srd interface
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 5 |
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") { |