Commit d17fd223 authored by Jondy Zhao's avatar Jondy Zhao

Transfer prefix of route from str to bin

parent 606ef1b6
......@@ -332,7 +332,7 @@ class TunnelManager(object):
prefix, prefix_len = fs[1].split('/', 1)
elif test('Interface'):
yield (ifname(fs[1].strip()),
prefix,
utils.binFromIp(prefix.strip()),
int(prefix_len))
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment