diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-24 16:26:43 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:56:41 +0000 | 
| commit | ade6974defaa83456b36804a9132d5cad65dc27a (patch) | |
| tree | 888d34549383e8f8262081798dcad4f1892eb6d1 /bgpd/bgp_updgrp_packet.c | |
| parent | 9df414feebc0748bbff2ea9071c76be59618e8e6 (diff) | |
*: 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.c | 14 | 
1 files changed, 8 insertions, 6 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index cba3b07032..f3047369bc 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;  			}  | 
