diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-10-18 14:33:54 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-10-22 09:07:41 +0300 | 
| commit | 2dbe669bdf0f0bcbf0228ccdab7b631bd8b934f1 (patch) | |
| tree | 69c38032b07630b46d2d5852200789b13392153c /ospfd/ospf_bfd.c | |
| parent | 719e0a6a6c4af04d1e9f4ef4bcc1855fc35fda6c (diff) | |
:* Convert prefix2str to %pFX
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ospfd/ospf_bfd.c')
| -rw-r--r-- | ospfd/ospf_bfd.c | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/ospfd/ospf_bfd.c b/ospfd/ospf_bfd.c index d2c5090f2f..46ad94c3de 100644 --- a/ospfd/ospf_bfd.c +++ b/ospfd/ospf_bfd.c @@ -217,12 +217,9 @@ static int ospf_bfd_interface_dest_update(ZAPI_CALLBACK_ARGS)  	if ((ifp == NULL) || (p.family != AF_INET))  		return 0; -	if (IS_DEBUG_OSPF(zebra, ZEBRA_INTERFACE)) { -		char buf[PREFIX2STR_BUFFER]; -		prefix2str(&p, buf, sizeof(buf)); -		zlog_debug("Zebra: interface %s bfd destination %s %s", -			   ifp->name, buf, bfd_get_status_str(status)); -	} +	if (IS_DEBUG_OSPF(zebra, ZEBRA_INTERFACE)) +		zlog_debug("Zebra: interface %s bfd destination %pFX %s", +			   ifp->name, &p, bfd_get_status_str(status));  	params = IF_DEF_PARAMS(ifp);  	if (!params->bfd_info)  | 
