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
38000b3a
Commit
38000b3a
authored
Feb 19, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dns forwarder reload flushed setting (
https://github.com/opnsense/core/issues/37
)
changed post handling for apply button.
parent
01d102aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
services_dnsmasq.php
src/www/services_dnsmasq.php
+7
-6
No files found.
src/www/services_dnsmasq.php
View file @
38000b3a
...
...
@@ -57,7 +57,7 @@ if (!is_array($config['dnsmasq']['domainoverrides']))
$a_hosts
=
&
$config
[
'dnsmasq'
][
'hosts'
];
$a_domainOverrides
=
&
$config
[
'dnsmasq'
][
'domainoverrides'
];
if
(
$_POST
)
{
if
(
$_POST
&&
isset
(
$_POST
[
'submit'
])
)
{
$pconfig
=
$_POST
;
unset
(
$input_errors
);
...
...
@@ -96,19 +96,20 @@ if ($_POST) {
if
(
!
$input_errors
)
{
write_config
();
$retval
=
0
;
$retval
=
services_dnsmasq_configure
();
$savemsg
=
get_std_save_message
(
$retval
);
}
}
elseif
(
$_POST
&&
isset
(
$_POST
[
'apply'
])
)
{
// Rel
ao
d filter (we might need to sync to CARP hosts)
// Rel
oa
d filter (we might need to sync to CARP hosts)
filter_configure
();
/* Update resolv.conf in case the interface bindings exclude localhost. */
system_resolvconf_generate
();
$retval
=
services_dnsmasq_configure
();
$savemsg
=
get_std_save_message
(
$retval
);
if
(
$retval
==
0
)
clear_subsystem_dirty
(
'hosts'
);
}
}
if
(
$_GET
[
'act'
]
==
"del"
)
{
...
...
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