diff options
| author | Lou Berger <lberger@labn.net> | 2018-03-06 14:02:52 -0500 | 
|---|---|---|
| committer | Lou Berger <lberger@labn.net> | 2018-03-06 14:04:32 -0500 | 
| commit | 996c93142d3abfab0f6d6c800474e22a8cfbdbc5 (patch) | |
| tree | 2b28846d256c84cf7b7f1a8988fb3267c8611722 /eigrpd/eigrp_hello.c | |
| parent | 3380418fa10556ef2c9139d09b9a435db64dc392 (diff) | |
*: conform with COMMUNITY.md formatting rules, via 'make indent'
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'eigrpd/eigrp_hello.c')
| -rw-r--r-- | eigrpd/eigrp_hello.c | 15 | 
1 files changed, 7 insertions, 8 deletions
diff --git a/eigrpd/eigrp_hello.c b/eigrpd/eigrp_hello.c index 1cb265cf12..bba028f1e8 100644 --- a/eigrpd/eigrp_hello.c +++ b/eigrpd/eigrp_hello.c @@ -96,8 +96,8 @@ int eigrp_hello_timer(struct thread *thread)  	/* Hello timer set. */  	ei->t_hello = NULL; -	thread_add_timer(master, eigrp_hello_timer, ei, -			 ei->params.v_hello, &ei->t_hello); +	thread_add_timer(master, eigrp_hello_timer, ei, ei->params.v_hello, +			 &ei->t_hello);  	return 0;  } @@ -443,7 +443,7 @@ static u_int16_t eigrp_sw_version_encode(struct stream *s)  	stream_putw(s, EIGRP_TLV_SW_VERSION);  	stream_putw(s, length); -	stream_putc(s, FRR_MAJOR);  //!< major os version +	stream_putc(s, FRR_MAJOR); //!< major os version  	stream_putc(s, FRR_MINOR); //!< minor os version  	/* and the core eigrp version */ @@ -634,14 +634,14 @@ static struct eigrp_packet *eigrp_hello_encode(struct eigrp_interface *ei,  	if (ep) {  		// encode common header feilds -		eigrp_packet_header_init(EIGRP_OPC_HELLO, ei->eigrp, ep->s, 0, 0, ack); +		eigrp_packet_header_init(EIGRP_OPC_HELLO, ei->eigrp, ep->s, 0, +					 0, ack);  		// encode Authentication TLV  		if ((ei->params.auth_type == EIGRP_AUTH_TYPE_MD5)  		    && (ei->params.auth_keychain != NULL)) {  			length += eigrp_add_authTLV_MD5_to_stream(ep->s, ei); -		} else if ((ei->params.auth_type -			    == EIGRP_AUTH_TYPE_SHA256) +		} else if ((ei->params.auth_type == EIGRP_AUTH_TYPE_SHA256)  			   && (ei->params.auth_keychain != NULL)) {  			length += eigrp_add_authTLV_SHA256_to_stream(ep->s, ei);  		} @@ -680,8 +680,7 @@ static struct eigrp_packet *eigrp_hello_encode(struct eigrp_interface *ei,  		    && (ei->params.auth_keychain != NULL)) {  			eigrp_make_md5_digest(ei, ep->s,  					      EIGRP_AUTH_BASIC_HELLO_FLAG); -		} else if ((ei->params.auth_type -			    == EIGRP_AUTH_TYPE_SHA256) +		} else if ((ei->params.auth_type == EIGRP_AUTH_TYPE_SHA256)  			   && (ei->params.auth_keychain != NULL)) {  			eigrp_make_sha256_digest(ei, ep->s,  						 EIGRP_AUTH_BASIC_HELLO_FLAG);  | 
