summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp_packet.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-24 18:26:43 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 22:56:41 +0200
commitade6974defaa83456b36804a9132d5cad65dc27a (patch)
tree888d34549383e8f8262081798dcad4f1892eb6d1 /bgpd/bgp_updgrp_packet.c
parentzebra: flog_warn conversion (diff)
downloadfrr-ade6974defaa83456b36804a9132d5cad65dc27a.tar.xz
frr-ade6974defaa83456b36804a9132d5cad65dc27a.zip
*: style for flog_warn conversions
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
-rw-r--r--bgpd/bgp_updgrp_packet.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c
index cba3b0703..f3047369b 100644
--- a/bgpd/bgp_updgrp_packet.c
+++ b/bgpd/bgp_updgrp_packet.c
@@ -427,9 +427,10 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt,
break;
default:
/* TODO: handle IPv6 nexthops */
- flog_warn(BGP_WARN_INVALID_NEXTHOP_LENGTH,
- "%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 +533,10 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt,
break;
default:
/* TODO: handle IPv4 nexthops */
- flog_warn(BGP_WARN_INVALID_NEXTHOP_LENGTH,
- "%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;
}