From b6bef80832b69b79504ffb929781dfe4e8137677 Mon Sep 17 00:00:00 2001 From: Siva Kesava R Kakarla Date: Fri, 27 Mar 2020 19:25:33 -0700 Subject: [PATCH] Fixed prefix-list line printing format --- PrefixList.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PrefixList.py b/PrefixList.py index 8deaab8..0347045 100644 --- a/PrefixList.py +++ b/PrefixList.py @@ -462,13 +462,13 @@ def FormatBlock(configFormat, action, lines, linePredicateMap, patternString): if line[0] == line[1] == line[2]: tmp[3] = " " elif line[0] == line[1]: - tmp[3] = "/"+line[0] + " le " + line[2] + tmp[3] = " le " + line[2] elif line[1] == line[2] and line[0] != line[1]: - tmp[3] = "/"+line[0] + " eq " + line[1] + tmp[3] = " eq " + line[1] elif line[1] == line[2]: - tmp[3] = "/"+line[0] + " ge " + line[1] + tmp[3] = " ge " + line[1] else: - tmp[3] = "/"+line[0] + " ge " + line[1] + " le " + line[2] + tmp[3] = " ge " + line[1] + " le " + line[2] output += "{:<3}: {:<3}: {} {} {}\n".format( str(line[LINENUM]), tmp[0], tmp[1], tmp[2], tmp[3]) htmlCmds.append(tmp)