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
829c503a
Commit
829c503a
authored
Aug 05, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: last sweep through crash reports for 15.7.7
parent
7e465fc5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
unbound.inc
src/etc/inc/unbound.inc
+1
-0
interfaces_ppps_edit.php
src/www/interfaces_ppps_edit.php
+6
-1
services_unbound_host_edit.php
src/www/services_unbound_host_edit.php
+1
-1
No files found.
src/etc/inc/unbound.inc
View file @
829c503a
...
@@ -537,6 +537,7 @@ function unbound_add_host_entries() {
...
@@ -537,6 +537,7 @@ function unbound_add_host_entries() {
}
}
// Write out entries
// Write out entries
@
mkdir
(
$g
[
'unbound_chroot_path'
]);
file_put_contents
(
"
{
$g
[
'unbound_chroot_path'
]
}
/host_entries.conf"
,
$unbound_entries
);
file_put_contents
(
"
{
$g
[
'unbound_chroot_path'
]
}
/host_entries.conf"
,
$unbound_entries
);
}
}
...
...
src/www/interfaces_ppps_edit.php
View file @
829c503a
...
@@ -163,7 +163,6 @@ if (isset($id) && $a_ppps[$id]) {
...
@@ -163,7 +163,6 @@ if (isset($id) && $a_ppps[$id]) {
if
(
$_POST
)
{
if
(
$_POST
)
{
unset
(
$input_errors
);
unset
(
$input_errors
);
$pconfig
=
$_POST
;
/* okay first of all, cause we are just hiding the PPPoE HTML
/* okay first of all, cause we are just hiding the PPPoE HTML
* fields releated to PPPoE resets, we are going to unset $_POST
* fields releated to PPPoE resets, we are going to unset $_POST
...
@@ -178,6 +177,12 @@ if ($_POST) {
...
@@ -178,6 +177,12 @@ if ($_POST) {
unset
(
$_POST
[
'pppoe_pr_preset_val'
]);
unset
(
$_POST
[
'pppoe_pr_preset_val'
]);
}
}
if
(
!
isset
(
$_POST
[
'interfaces'
]))
{
$_POST
[
'interfaces'
]
=
array
();
}
$pconfig
=
$_POST
;
/* input validation */
/* input validation */
switch
(
$_POST
[
'type'
])
{
switch
(
$_POST
[
'type'
])
{
case
"ppp"
:
case
"ppp"
:
...
...
src/www/services_unbound_host_edit.php
View file @
829c503a
...
@@ -249,7 +249,7 @@ include("head.inc");
...
@@ -249,7 +249,7 @@ include("head.inc");
</tr>
</tr>
<?php
<?php
$counter
=
0
;
$counter
=
0
;
if
(
$pconfig
[
'aliases'
][
'item'
]
)
:
if
(
isset
(
$pconfig
[
'aliases'
][
'item'
])
)
:
foreach
(
$pconfig
[
'aliases'
][
'item'
]
as
$item
)
:
foreach
(
$pconfig
[
'aliases'
][
'item'
]
as
$item
)
:
$host
=
$item
[
'host'
];
$host
=
$item
[
'host'
];
$domain
=
$item
[
'domain'
];
$domain
=
$item
[
'domain'
];
...
...
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