Write out a default router file for the srd interface

This commit is contained in:
smos 2012-02-25 13:46:22 +01:00
parent d500e296d8
commit f55b6cbbb1

View File

@ -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") {