[bgpcfgd]: ip_addr is not defined (#4560)

This commit is contained in:
Qi Luo 2020-05-08 12:19:48 -07:00 committed by GitHub
parent 9966a0a341
commit 708d901209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ class BGPConfigManager(object):
cmds.append(txt)
syslog.syslog(syslog.LOG_INFO, "Generate set src configuration with Loopback0 ipv4 '%s'" % ip_addr)
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:
self.__apply_cmd(cmd, zebra=True)