diff --git a/capirca/lib/aclcheck.py b/capirca/lib/aclcheck.py index 6ad67f75..3181ae22 100644 --- a/capirca/lib/aclcheck.py +++ b/capirca/lib/aclcheck.py @@ -118,7 +118,12 @@ def __init__(self, self.matches = [] self.exact_matches = [] for header, terms in self.pol_obj.filters: - filtername = header.target[0].options[0] + check_target = str(header.target[0]) + if check_target == 'srx': + delim = " " + filtername = delim.join(header.target[0].options) + else: + filtername = header.target[0].options[0] for term in terms: possible = [] logging.debug('checking term: %s', term.name)