summaryrefslogtreecommitdiffstats
path: root/bin/jerancid.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jerancid.in')
-rw-r--r--bin/jerancid.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/bin/jerancid.in b/bin/jerancid.in
index 84d59ec..69d4697 100644
--- a/bin/jerancid.in
+++ b/bin/jerancid.in
@@ -3,7 +3,7 @@
## $Id$
##
## @PACKAGE@ @VERSION@
-## Copyright (c) 1997-2007 by Terrapin Communications, Inc.
+## Copyright (c) 1997-2008 by Terrapin Communications, Inc.
## All rights reserved.
##
## This code is derived from software contributed to and maintained by
@@ -427,6 +427,12 @@ sub WriteTerm {
ProcessHistory("","","","!$1 <removed>\n"); next;
}
}
+ # mpls ldp encrypted password oscillates
+ if (/^(mpls ldp neighbor \S+ password)/) {
+ if ($filter_pwds >= 1 || /^mpls ldp neighbor \S+ password \d /) {
+ ProcessHistory("","","","!$1 <removed>\n"); next;
+ }
+ }
# sort ip explicit-paths.
if (/^ip explicit-path name (\S+)/) {
@@ -470,9 +476,9 @@ sub WriteTerm {
/^arp\s+(\d+\.\d+\.\d+\.\d+)\s+/ &&
ProcessHistory("ARP","$aclsort","$1","$_") && next;
- /^ip prefix-list\s+(\S+)\s+seq\s+(\d+)\s+(permit|deny)\s+(\d\S+)(\/.*)$/ &&
- ProcessHistory("PACL $1 $3","$aclsort","$4","ip prefix-list $1 $3 $4$5\n")
- && next;
+ /^ip prefix-list\s+(\S+)\s+seq\s+(\d+)\s+(permit|deny)\s+(\d\S+)(\/.*)$/
+ && ProcessHistory("PACL $1 $3","$aclsort","$4",
+ "ip prefix-list $1 $3 $4$5\n") && next;
# order/prune snmp-server host statements