@@ -188,9 +188,9 @@ lwapp_control_print(netdissect_options *ndo,
188
188
* Sanity checking of the header.
189
189
*/
190
190
if (LWAPP_EXTRACT_VERSION (version ) != LWAPP_VERSION ) {
191
- ND_PRINT ("LWAPP version %u packet not supported" ,
191
+ ND_PRINT ("LWAPP version %u packet not supported" ,
192
192
LWAPP_EXTRACT_VERSION (version ));
193
- return ;
193
+ return ;
194
194
}
195
195
196
196
/* non-verbose */
@@ -211,8 +211,8 @@ lwapp_control_print(netdissect_options *ndo,
211
211
LWAPP_EXTRACT_CONTROL_BIT (version ) ? "Control" : "Data" ,
212
212
LWAPP_EXTRACT_RID (version ),
213
213
bittok2str (lwapp_header_bits_values ,"none" ,version & 0x07 ),
214
- GET_U_1 (lwapp_trans_header -> frag_id ),
215
- tlen );
214
+ GET_U_1 (lwapp_trans_header -> frag_id ),
215
+ tlen );
216
216
217
217
if (has_ap_ident ) {
218
218
ND_PRINT ("\n\tAP identity: %s" , GET_MAC48_STRING (tptr ));
@@ -231,14 +231,14 @@ lwapp_control_print(netdissect_options *ndo,
231
231
}
232
232
233
233
lwapp_control_header = (const struct lwapp_control_header * )tptr ;
234
- msg_tlen = GET_BE_U_2 (lwapp_control_header -> len );
234
+ msg_tlen = GET_BE_U_2 (lwapp_control_header -> len );
235
235
if (tlen < sizeof (struct lwapp_control_header ) + msg_tlen ) {
236
236
ND_PRINT ("\n\t Msg goes past end of PDU" );
237
237
break ;
238
238
}
239
239
240
- /* print message header */
241
- msg_type = GET_U_1 (lwapp_control_header -> msg_type );
240
+ /* print message header */
241
+ msg_type = GET_U_1 (lwapp_control_header -> msg_type );
242
242
ND_PRINT ("\n\t Msg type: %s (%u), Seqnum: %u, Msg len: %u, Session: 0x%08x" ,
243
243
tok2str (lwapp_msg_type_values ,"Unknown" ,msg_type ),
244
244
msg_type ,
@@ -249,7 +249,7 @@ lwapp_control_print(netdissect_options *ndo,
249
249
/* did we capture enough for fully decoding the message */
250
250
ND_TCHECK_LEN (tptr , msg_tlen );
251
251
252
- /* XXX - Decode sub messages for each message */
252
+ /* XXX - Decode sub messages for each message */
253
253
switch (msg_type ) {
254
254
case LWAPP_MSGTYPE_DISCOVERY_REQUEST :
255
255
case LWAPP_MSGTYPE_DISCOVERY_RESPONSE :
0 commit comments