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
fb5affdf
Commit
fb5affdf
authored
Jan 26, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
Jan 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) mark deletions in xmlrpc source data
(cherry picked from commit
ab17de8c
)
parent
ec58d98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
rc.filter_synchronize
src/etc/rc.filter_synchronize
+7
-0
No files found.
src/etc/rc.filter_synchronize
View file @
fb5affdf
...
@@ -152,6 +152,13 @@ function copy_conf_section(&$cnf_structure_in, &$cnf_structure_out, $reference)
...
@@ -152,6 +152,13 @@ function copy_conf_section(&$cnf_structure_in, &$cnf_structure_out, $reference)
}
else
{
}
else
{
$cnf_structure_out
[
$cnf_section
]
=
$cnf_structure_in
;
$cnf_structure_out
[
$cnf_section
]
=
$cnf_structure_in
;
}
}
}
else
{
// if source entry doesn't exist, make sure we copy an empty entry to the remote side
// otherwise there's no way to know data has been removed
if
(
!
isset
(
$cnf_structure_out
[
$cnf_section
]))
{
$cnf_structure_out
[
$cnf_section
]
=
array
();
}
$cnf_structure_out
=
&
$cnf_structure_out
[
$cnf_section
];
}
}
$cnf_path_depth
++
;
$cnf_path_depth
++
;
}
}
...
...
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