diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyos-strip-config.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vyos-strip-config.pl b/scripts/vyos-strip-config.pl index 7b1d9ed..b37703f 100644 --- a/scripts/vyos-strip-config.pl +++ b/scripts/vyos-strip-config.pl @@ -161,6 +161,9 @@ $input =~ s/(shared-secret-key-file|ca-cert-file|cert-file|dh-file|key-file|clie # Strip IPSEC secrets $input =~ s/pre-shared-secret \S+/pre-shared-secret xxxxxx/g if !($keepKeys); +# Strip OSPF md5-key +$input =~ s/md5-key \S+/md5-key xxxxxx/g if !($keepKeys); + # Strip BGP ASNs $input =~ s/(bgp|remote-as) (\d+)/$1 XXXXXX/g if $stripASN; |