X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=zyxel%2Fswitchmap.py;h=479d08289a849f74c0450cfaed5acdc6ec8265bf;hb=1e7869f8141084245dcd34fb065f38a418517e7b;hp=28e3e73954ec32fc370e77903782de78bc3489b1;hpb=567a81d8e3e7a04df59ffc4df6865c13581c11df;p=nms diff --git a/zyxel/switchmap.py b/zyxel/switchmap.py index 28e3e73..479d082 100755 --- a/zyxel/switchmap.py +++ b/zyxel/switchmap.py @@ -63,5 +63,5 @@ for vlan in vlan_list: cnet_minor = (num-1) * 64 # switches.write("194.0.%u.0 24 split:%s\n" % (i, ",".join(vlans[vlan]))) - switches.write("194.0.%u.%u 26 e%u-%u\n" % (cnet_major, cnet_minor, row, num)) + switches.write("194.0.%u.%u 26 e%u-sw%u\n" % (cnet_major, cnet_minor, row, num)) i = i + 1