summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/VyattaConfigLoad.pm1
-rwxr-xr-xscripts/VyattaConfigOutput.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/VyattaConfigLoad.pm b/scripts/VyattaConfigLoad.pm
index b1b7598..5305dc8 100755
--- a/scripts/VyattaConfigLoad.pm
+++ b/scripts/VyattaConfigLoad.pm
@@ -35,6 +35,7 @@ my %config_rank = (
'system host-name' => 1005,
'interfaces' => 1000,
'interfaces bridge' => 990,
+ 'interfaces bonding' => 995,
'interfaces ethernet' => 980,
'interfaces tunnel' => 910,
'system gateway-address' => 890,
diff --git a/scripts/VyattaConfigOutput.pm b/scripts/VyattaConfigOutput.pm
index 1933d22..fa0b274 100755
--- a/scripts/VyattaConfigOutput.pm
+++ b/scripts/VyattaConfigOutput.pm
@@ -75,7 +75,7 @@ sub displayValues {
$default = $txt;
}
}
- my $is_password = ($name =~ /^.*password$/);
+ my $is_password = ($name =~ /^.*(password|pre-shared-secret)$/);
my $HIDE_PASSWORD = '****************';
$config->setLevel(join ' ', @cur_path);
if ($is_multi) {