diff options
| author | Rafael Zalamena <rzalamena@users.noreply.github.com> | 2017-12-14 11:21:40 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-14 11:21:40 -0200 |
| commit | beab6ff7f2b72f1b0e712c492f92ffa5c5c80f5f (patch) | |
| tree | 6b5c721335f5e2ff011f8a40947b420d6a653d19 /eigrpd/eigrp_reply.c | |
| parent | 478becd9aea0c455441fe82657f3172c644d4fde (diff) | |
| parent | 06b9f471ab94bea8ef8423e92beeb4c58ba488e2 (diff) | |
Merge pull request #1521 from donaldsharp/bufsiz
Cleanup Some Code Issues
Diffstat (limited to 'eigrpd/eigrp_reply.c')
| -rw-r--r-- | eigrpd/eigrp_reply.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eigrpd/eigrp_reply.c b/eigrpd/eigrp_reply.c index 0ccffde72b..84396f0878 100644 --- a/eigrpd/eigrp_reply.c +++ b/eigrpd/eigrp_reply.c @@ -170,9 +170,11 @@ void eigrp_reply_receive(struct eigrp *eigrp, struct ip *iph, */ if (!dest) { char buf[PREFIX_STRLEN]; + zlog_err("%s: Received prefix %s which we do not know about", __PRETTY_FUNCTION__, - prefix2str(&dest_addr, buf, strlen(buf))); + prefix2str(&dest_addr, buf, sizeof(buf))); + eigrp_IPv4_InternalTLV_free(tlv); continue; } |
