[bgpcfgd]: ip_addr is not defined (#4560)
This commit is contained in:
parent
9966a0a341
commit
708d901209
@ -164,7 +164,7 @@ class BGPConfigManager(object):
|
|||||||
cmds.append(txt)
|
cmds.append(txt)
|
||||||
syslog.syslog(syslog.LOG_INFO, "Generate set src configuration with Loopback0 ipv4 '%s'" % ip_addr)
|
syslog.syslog(syslog.LOG_INFO, "Generate set src configuration with Loopback0 ipv4 '%s'" % ip_addr)
|
||||||
elif op == swsscommon.DEL_COMMAND:
|
elif op == swsscommon.DEL_COMMAND:
|
||||||
syslog.syslog(syslog.LOG_INFO, "Delete command is not supported for set src templates '%s'" % ip_addr)
|
syslog.syslog(syslog.LOG_INFO, "Delete command is not supported for set src templates")
|
||||||
|
|
||||||
for cmd in cmds:
|
for cmd in cmds:
|
||||||
self.__apply_cmd(cmd, zebra=True)
|
self.__apply_cmd(cmd, zebra=True)
|
||||||
|
Reference in New Issue
Block a user