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 /isisd/isis_pdu.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 'isisd/isis_pdu.c')
| -rw-r--r-- | isisd/isis_pdu.c | 22 | 
1 files changed, 7 insertions, 15 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index b5377142b6..b886f98ca1 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -427,8 +427,7 @@ static int process_p2p_hello(struct iih_info *iih)  	if (IS_DEBUG_ADJ_PACKETS) {  		zlog_debug( -			"ISIS-Adj (%s): Rcvd P2P IIH from (%s), cir type %s," -			" cir id %hhu, length %" PRIu16, +			"ISIS-Adj (%s): Rcvd P2P IIH from (%s), cir type %s, cir id %hhu, length %" PRIu16,  			iih->circuit->area->area_tag,  			iih->circuit->interface->name,  			circuit_t2string(iih->circuit->is_type), @@ -900,8 +899,7 @@ static int process_lsp(uint8_t pdu_type, struct isis_circuit *circuit,  	/* 7.3.15.1 a) 1 - external domain circuit will discard lsps */  	if (circuit->ext_domain) {  		zlog_debug( -			"ISIS-Upd (%s): LSP %s received at level %d over circuit with " -			"externalDomain = true", +			"ISIS-Upd (%s): LSP %s received at level %d over circuit with externalDomain = true",  			circuit->area->area_tag, rawlspid_print(hdr.lsp_id),  			level);  		return ISIS_WARNING; @@ -910,8 +908,7 @@ static int process_lsp(uint8_t pdu_type, struct isis_circuit *circuit,  	/* 7.3.15.1 a) 2,3 - manualL2OnlyMode not implemented */  	if (!(circuit->is_type & level)) {  		zlog_debug( -			"ISIS-Upd (%s): LSP %s received at level %d over circuit of" -			" type %s", +			"ISIS-Upd (%s): LSP %s received at level %d over circuit of type %s",  			circuit->area->area_tag, rawlspid_print(hdr.lsp_id),  			level, circuit_t2string(circuit->is_type));  		return ISIS_WARNING; @@ -1125,9 +1122,7 @@ dontcheckadj:  				}  				if (IS_DEBUG_UPDATE_PACKETS)  					zlog_debug( -						"ISIS-Upd (%s): (1) " -						"re-originating LSP %s new seq " -						"0x%08" PRIx32, +						"ISIS-Upd (%s): (1) re-originating LSP %s new seq 0x%08" PRIx32,  						circuit->area->area_tag,  						rawlspid_print(hdr.lsp_id),  						lsp->hdr.seqno); @@ -1314,8 +1309,7 @@ static int process_snp(uint8_t pdu_type, struct isis_circuit *circuit,  	if (circuit->ext_domain) {  		zlog_debug( -			"ISIS-Snp (%s): Rcvd L%d %cSNP on %s, " -			"skipping: circuit externalDomain = true", +			"ISIS-Snp (%s): Rcvd L%d %cSNP on %s, skipping: circuit externalDomain = true",  			circuit->area->area_tag, level, typechar,  			circuit->interface->name); @@ -1325,8 +1319,7 @@ static int process_snp(uint8_t pdu_type, struct isis_circuit *circuit,  	/* 7.3.15.2 a) 2,3 - manualL2OnlyMode not implemented */  	if (!(circuit->is_type & level)) {  		zlog_debug( -			"ISIS-Snp (%s): Rcvd L%d %cSNP on %s, " -			"skipping: circuit type %s does not match level %d", +			"ISIS-Snp (%s): Rcvd L%d %cSNP on %s, skipping: circuit type %s does not match level %d",  			circuit->area->area_tag, level, typechar,  			circuit->interface->name,  			circuit_t2string(circuit->is_type), level); @@ -1338,8 +1331,7 @@ static int process_snp(uint8_t pdu_type, struct isis_circuit *circuit,  	if (!is_csnp && (circuit->circ_type == CIRCUIT_T_BROADCAST)  	    && !circuit->u.bc.is_dr[level - 1]) {  		zlog_debug( -			"ISIS-Snp (%s): Rcvd L%d %cSNP from %s on %s, " -			"skipping: we are not the DIS", +			"ISIS-Snp (%s): Rcvd L%d %cSNP from %s on %s, skipping: we are not the DIS",  			circuit->area->area_tag, level, typechar,  			snpa_print(ssnpa), circuit->interface->name);  | 
