diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-16 18:07:50 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 22:50:58 +0200 |
commit | 78cb65556877087ab3d8d03e611c83ca6a455ed2 (patch) | |
tree | e382c44b47cd0d21819d6b20c86129879b2ddea4 /bgpd/bgp_updgrp_packet.c | |
parent | bgpd: Convert bgp_open.c to use flog_warn (diff) | |
download | frr-78cb65556877087ab3d8d03e611c83ca6a455ed2.tar.xz frr-78cb65556877087ab3d8d03e611c83ca6a455ed2.zip |
bgpd: Update bgp_updgrp_packet.c to use flog_warn
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
-rw-r--r-- | bgpd/bgp_updgrp_packet.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index c0761503f..cba3b0703 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -427,9 +427,9 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt, break; default: /* TODO: handle IPv6 nexthops */ - zlog_warn( - "%s: %s: invalid MP nexthop length (AFI IP): %u", - __func__, peer->host, nhlen); + flog_warn(BGP_WARN_INVALID_NEXTHOP_LENGTH, + "%s: %s: invalid MP nexthop length (AFI IP): %u", + __func__, peer->host, nhlen); stream_free(s); return NULL; } @@ -532,9 +532,9 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt, break; default: /* TODO: handle IPv4 nexthops */ - zlog_warn( - "%s: %s: invalid MP nexthop length (AFI IP6): %u", - __func__, peer->host, nhlen); + flog_warn(BGP_WARN_INVALID_NEXTHOP_LENGTH, + "%s: %s: invalid MP nexthop length (AFI IP6): %u", + __func__, peer->host, nhlen); stream_free(s); return NULL; } |