Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
983b11f3
Commit
983b11f3
authored
May 11, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interfaces: keep dhcp6 config, seems to have been a typo
parent
d0a94a5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
config.xml.sample
src/etc/config.xml.sample
+4
-4
console.inc
src/etc/inc/console.inc
+1
-1
No files found.
src/etc/config.xml.sample
View file @
983b11f3
...
...
@@ -234,22 +234,22 @@
</system>
<interfaces>
<wan>
<enable
/
>
<enable
>
1
</enable
>
<if>
mismatch1
</if>
<mtu/>
<ipaddr>
dhcp
</ipaddr>
<ipaddrv6>
dhcp6
</ipaddrv6>
<subnet/>
<gateway/>
<blockpriv
/
>
<blockbogons
/
>
<blockpriv
>
1
</blockpriv
>
<blockbogons
>
1
</blockbogons
>
<dhcphostname/>
<media/>
<mediaopt/>
<dhcp6-ia-pd-len>
0
</dhcp6-ia-pd-len>
</wan>
<lan>
<enable
/
>
<enable
>
1
</enable
>
<if>
mismatch0
</if>
<ipaddr>
192.168.1.1
</ipaddr>
<subnet>
24
</subnet>
...
...
src/etc/inc/console.inc
View file @
983b11f3
...
...
@@ -366,7 +366,7 @@ EOD;
$config
[
'interfaces'
][
'wan'
][
'if'
]
=
$wanif
;
$config
[
'interfaces'
][
'wan'
][
'enable'
]
=
true
;
$config
[
'interfaces'
][
'wan'
][
'ipaddr'
]
=
'dhcp'
;
$config
[
'interfaces'
][
'wan'
][
'ipaddrv6'
]
=
'dhcp
v
6'
;
$config
[
'interfaces'
][
'wan'
][
'ipaddrv6'
]
=
'dhcp6'
;
$config
[
'interfaces'
][
'wan'
][
'blockbogons'
]
=
true
;
if
(
$lanif
)
{
$config
[
'interfaces'
][
'wan'
][
'blockpriv'
]
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment