mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 17:06:28 +00:00
vrrpd: better messaging for interface binds
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
2198a5bbc9
commit
e6341d212b
12
vrrpd/vrrp.c
12
vrrpd/vrrp.c
@ -320,15 +320,15 @@ static bool vrrp_attach_interface(struct vrrp_router *r)
|
|||||||
|
|
||||||
if (candidates == 0)
|
if (candidates == 0)
|
||||||
zlog_warn(VRRP_LOGPFX VRRP_LOGPFX_VRID
|
zlog_warn(VRRP_LOGPFX VRRP_LOGPFX_VRID
|
||||||
"No interface found w/ MAC %s",
|
"%s interface: None (no interface found w/ MAC %s)",
|
||||||
r->vr->vrid, ethstr);
|
r->vr->vrid, family2str(r->family), ethstr);
|
||||||
else if (candidates > 1)
|
else if (candidates > 1)
|
||||||
zlog_warn(VRRP_LOGPFX VRRP_LOGPFX_VRID
|
zlog_warn(VRRP_LOGPFX VRRP_LOGPFX_VRID
|
||||||
"Multiple VRRP interfaces found; using %s",
|
"%s interface: Multiple interfaces found; using %s",
|
||||||
r->vr->vrid, selection->name);
|
r->vr->vrid, family2str(r->family), selection->name);
|
||||||
else
|
else
|
||||||
zlog_info(VRRP_LOGPFX VRRP_LOGPFX_VRID "Selected %s",
|
zlog_info(VRRP_LOGPFX VRRP_LOGPFX_VRID "%s interface: %s",
|
||||||
r->vr->vrid, selection->name);
|
r->vr->vrid, family2str(r->family), selection->name);
|
||||||
|
|
||||||
r->mvl_ifp = selection;
|
r->mvl_ifp = selection;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user