summaryrefslogtreecommitdiff
path: root/ldpd/init.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-03-27 12:35:23 +0100
committerDavid Lamparter <equinox@diac24.net>2020-07-14 10:37:25 +0200
commit3efd0893d01696b680325679077382992d4eb33f (patch)
treeaac81fef8b8f5194e8280092f625b3f7b58da73b /ldpd/init.c
parent93195af63f5cfcd0745524dc24561c277340a3bc (diff)
*: un-split strings across lines
Remove mid-string line breaks, cf. workflow doc: .. [#tool_style_conflicts] For example, lines over 80 characters are allowed for text strings to make it possible to search the code for them: please see `Linux kernel style (breaking long lines and strings) <https://www.kernel.org/doc/html/v4.10/process/coding-style.html#breaking-long-lines-and-strings>`_ and `Issue #1794 <https://github.com/FRRouting/frr/issues/1794>`_. Scripted commit, idempotent to running: ``` python3 tools/stringmangle.py --unwrap `git ls-files | egrep '\.[ch]$'` ``` Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ldpd/init.c')
-rw-r--r--ldpd/init.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/ldpd/init.c b/ldpd/init.c
index 8b2abe85e5..30b78315f9 100644
--- a/ldpd/init.c
+++ b/ldpd/init.c
@@ -146,8 +146,7 @@ recv_init(struct nbr *nbr, char *buf, uint16_t len)
nbr->flags |= F_NBR_CAP_DYNAMIC;
- log_debug("%s: lsr-id %s announced the Dynamic "
- "Capability Announcement capability", __func__,
+ log_debug("%s: lsr-id %s announced the Dynamic Capability Announcement capability", __func__,
inet_ntoa(nbr->id));
break;
case TLV_TYPE_TWCARD_CAP:
@@ -166,8 +165,7 @@ recv_init(struct nbr *nbr, char *buf, uint16_t len)
nbr->flags |= F_NBR_CAP_TWCARD;
- log_debug("%s: lsr-id %s announced the Typed Wildcard "
- "FEC capability", __func__, inet_ntoa(nbr->id));
+ log_debug("%s: lsr-id %s announced the Typed Wildcard FEC capability", __func__, inet_ntoa(nbr->id));
break;
case TLV_TYPE_UNOTIF_CAP:
if (tlv_len != CAP_TLV_UNOTIF_LEN) {
@@ -185,8 +183,7 @@ recv_init(struct nbr *nbr, char *buf, uint16_t len)
nbr->flags |= F_NBR_CAP_UNOTIF;
- log_debug("%s: lsr-id %s announced the Unrecognized "
- "Notification capability", __func__,
+ log_debug("%s: lsr-id %s announced the Unrecognized Notification capability", __func__,
inet_ntoa(nbr->id));
break;
default:
@@ -321,8 +318,7 @@ recv_capability(struct nbr *nbr, char *buf, uint16_t len)
else
nbr->flags &= ~F_NBR_CAP_TWCARD;
- log_debug("%s: lsr-id %s %s the Typed Wildcard FEC "
- "capability", __func__, inet_ntoa(nbr->id),
+ log_debug("%s: lsr-id %s %s the Typed Wildcard FEC capability", __func__, inet_ntoa(nbr->id),
(enable) ? "announced" : "withdrew");
break;
case TLV_TYPE_UNOTIF_CAP:
@@ -346,8 +342,7 @@ recv_capability(struct nbr *nbr, char *buf, uint16_t len)
else
nbr->flags &= ~F_NBR_CAP_UNOTIF;
- log_debug("%s: lsr-id %s %s the Unrecognized "
- "Notification capability", __func__,
+ log_debug("%s: lsr-id %s %s the Unrecognized Notification capability", __func__,
inet_ntoa(nbr->id), (enable) ? "announced" :
"withdrew");
break;