summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_reply.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-10-22 08:07:57 -0400
committerGitHub <noreply@github.com>2020-10-22 08:07:57 -0400
commit84de5a245a3eb17619588a535b9f408ce802a8c9 (patch)
tree30eafbdeaf55a170d2bf8d7be0c1b1f34cfc4f90 /eigrpd/eigrp_reply.c
parente58496183e278767da2cb0886f90397e50cfa5ef (diff)
parent2dbe669bdf0f0bcbf0228ccdab7b631bd8b934f1 (diff)
Merge pull request #7343 from ton31337/fix/prefix2str_to_pFX
:* Convert prefix2str to %pFX
Diffstat (limited to 'eigrpd/eigrp_reply.c')
-rw-r--r--eigrpd/eigrp_reply.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/eigrpd/eigrp_reply.c b/eigrpd/eigrp_reply.c
index 79405efbbf..26bb27d7ac 100644
--- a/eigrpd/eigrp_reply.c
+++ b/eigrpd/eigrp_reply.c
@@ -168,13 +168,10 @@ void eigrp_reply_receive(struct eigrp *eigrp, struct ip *iph,
* Destination must exists
*/
if (!dest) {
- char buf[PREFIX_STRLEN];
-
flog_err(
EC_EIGRP_PACKET,
- "%s: Received prefix %s which we do not know about",
- __func__,
- prefix2str(&dest_addr, buf, sizeof(buf)));
+ "%s: Received prefix %pFX which we do not know about",
+ __func__, &dest_addr);
eigrp_IPv4_InternalTLV_free(tlv);
continue;
}