Commit 983b11f3 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: keep dhcp6 config, seems to have been a typo

parent d0a94a5b
...@@ -234,22 +234,22 @@ ...@@ -234,22 +234,22 @@
</system> </system>
<interfaces> <interfaces>
<wan> <wan>
<enable/> <enable>1</enable>
<if>mismatch1</if> <if>mismatch1</if>
<mtu/> <mtu/>
<ipaddr>dhcp</ipaddr> <ipaddr>dhcp</ipaddr>
<ipaddrv6>dhcp6</ipaddrv6> <ipaddrv6>dhcp6</ipaddrv6>
<subnet/> <subnet/>
<gateway/> <gateway/>
<blockpriv/> <blockpriv>1</blockpriv>
<blockbogons/> <blockbogons>1</blockbogons>
<dhcphostname/> <dhcphostname/>
<media/> <media/>
<mediaopt/> <mediaopt/>
<dhcp6-ia-pd-len>0</dhcp6-ia-pd-len> <dhcp6-ia-pd-len>0</dhcp6-ia-pd-len>
</wan> </wan>
<lan> <lan>
<enable/> <enable>1</enable>
<if>mismatch0</if> <if>mismatch0</if>
<ipaddr>192.168.1.1</ipaddr> <ipaddr>192.168.1.1</ipaddr>
<subnet>24</subnet> <subnet>24</subnet>
......
...@@ -366,7 +366,7 @@ EOD; ...@@ -366,7 +366,7 @@ EOD;
$config['interfaces']['wan']['if'] = $wanif; $config['interfaces']['wan']['if'] = $wanif;
$config['interfaces']['wan']['enable'] = true; $config['interfaces']['wan']['enable'] = true;
$config['interfaces']['wan']['ipaddr'] = 'dhcp'; $config['interfaces']['wan']['ipaddr'] = 'dhcp';
$config['interfaces']['wan']['ipaddrv6'] = 'dhcpv6'; $config['interfaces']['wan']['ipaddrv6'] = 'dhcp6';
$config['interfaces']['wan']['blockbogons'] = true; $config['interfaces']['wan']['blockbogons'] = true;
if ($lanif) { if ($lanif) {
$config['interfaces']['wan']['blockpriv'] = true; $config['interfaces']['wan']['blockpriv'] = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment