fix a bug

This commit is contained in:
zhuyj17 2017-05-09 09:24:46 +08:00
parent e8269cc756
commit 8400845dce
1 changed files with 0 additions and 1 deletions

View File

@ -277,7 +277,6 @@ class netcontrol(object):
info['inet'].remove(addr)
for otheraddr in info['inet']:
ipcontrol.del_addr(gwport, otheraddr)
ovscontrol.set_port_tag(gwport, tag)
if info['state'] == 'DOWN':
ipcontrol.up_link(gwport)
return [True, "check gateway port %s" % gwport]