]> git.sesse.net Git - nms/blobdiff - zyxel/switchmap.py
Yet more display fixes, and pull in the last few rows.
[nms] / zyxel / switchmap.py
index 46f58e63ef2271370067167e93b782c70368046a..d1fba3667199f63feff199b06bc8667711df2a42 100644 (file)
@@ -9,10 +9,10 @@ for sw in range(1,7):
                print "   ",
 print ""
 
-for row in range(1,70,2):
+for row in range(1,75,2):
        print "\e[37m%2u: " % row,
        for sw in range(1,7):
-               if row <= 3 and sw <= 3:
+               if (row <= 3 and sw <= 3) or (row >= 69 and (sw == 1 or sw == 6)):
                        print "%-16s " % "",
                else:
                        print retColor((row,sw)), "%-15s " % retIP((row,sw)),