summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ConfigLoad.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/ConfigLoad.pm')
-rwxr-xr-xlib/Vyatta/ConfigLoad.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm
index 685a63b..033aec0 100755
--- a/lib/Vyatta/ConfigLoad.pm
+++ b/lib/Vyatta/ConfigLoad.pm
@@ -384,7 +384,6 @@ sub findSetNodes {
sub getConfigDiff {
$active_cfg = new Vyatta::Config;
$new_cfg_ref = shift;
- my $reverse = shift;
@set_list = ();
# @disable_list = ();
@delete_list = ();
@@ -393,11 +392,6 @@ sub getConfigDiff {
# need to filter out deletions of nodes with default values
my @new_delete_list = ();
- if ($reverse == 'true') {
- my @tmp = @delete_list;
- @delete_list = @set_list;
- @set_list = @tmp;
- }
foreach my $del (@delete_list) {
my @comps = map {
my $file = $_;