diff options
author | unknown <unknown@unknown> | 2008-12-17 03:43:51 +0000 |
---|---|---|
committer | unknown <unknown@unknown> | 2008-12-17 03:43:51 +0000 |
commit | 09f0f026fd4931b90016d0090778983da01c294a (patch) | |
tree | d47c450de794595ce6395bde6ff084d75dac48a4 /bin/jerancid.in | |
parent | b73f299e731fbddae095c0b5eff04717b6dce1af (diff) | |
download | rancid-09f0f026fd4931b90016d0090778983da01c294a.tar.gz rancid-09f0f026fd4931b90016d0090778983da01c294a.tar.xz rancid-09f0f026fd4931b90016d0090778983da01c294a.zip |
Imported from rancid-2.3.2a9.tar.gz.rancid-2.3.2a9
Diffstat (limited to 'bin/jerancid.in')
-rw-r--r-- | bin/jerancid.in | 14 |
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 |