diff options
| author | David Lamparter <equinox@diac24.net> | 2020-03-27 12:35:23 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-07-14 10:37:25 +0200 | 
| commit | 3efd0893d01696b680325679077382992d4eb33f (patch) | |
| tree | aac81fef8b8f5194e8280092f625b3f7b58da73b /ldpd/packet.c | |
| parent | 93195af63f5cfcd0745524dc24561c277340a3bc (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/packet.c')
| -rw-r--r-- | ldpd/packet.c | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/ldpd/packet.c b/ldpd/packet.c index dfab30eeb3..c00008d120 100644 --- a/ldpd/packet.c +++ b/ldpd/packet.c @@ -77,8 +77,7 @@ send_packet(int fd, int af, union ldpd_addr *dst, struct iface_af *ia,  		if (ia && IN_MULTICAST(ntohl(dst->v4.s_addr))) {  			/* set outgoing interface for multicast traffic */  			if (sock_set_ipv4_mcast(ia->iface) == -1) { -				log_debug("%s: error setting multicast " -				    "interface, %s", __func__, ia->iface->name); +				log_debug("%s: error setting multicast interface, %s", __func__, ia->iface->name);  				return (-1);  			}  		} @@ -87,8 +86,7 @@ send_packet(int fd, int af, union ldpd_addr *dst, struct iface_af *ia,  		if (ia && IN6_IS_ADDR_MULTICAST(&dst->v6)) {  			/* set outgoing interface for multicast traffic */  			if (sock_set_ipv6_mcast(ia->iface) == -1) { -				log_debug("%s: error setting multicast " -				    "interface, %s", __func__, ia->iface->name); +				log_debug("%s: error setting multicast interface, %s", __func__, ia->iface->name);  				return (-1);  			}  		} @@ -368,8 +366,7 @@ session_accept(struct thread *thread)  		return (0);  	}  	if (nbr->state != NBR_STA_PRESENT) { -		log_debug("%s: lsr-id %s: rejecting additional transport " -		    "connection", __func__, inet_ntoa(nbr->id)); +		log_debug("%s: lsr-id %s: rejecting additional transport connection", __func__, inet_ntoa(nbr->id));  		close(newfd);  		return (0);  	}  | 
