Skip to content

Commit f6b588a

Browse files
committed
LWAPP: Fix indentation
s/^<tab>/<8 spaces>/ [skip ci]
1 parent 679e78d commit f6b588a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

print-lwapp.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ lwapp_control_print(netdissect_options *ndo,
188188
* Sanity checking of the header.
189189
*/
190190
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",
192192
LWAPP_EXTRACT_VERSION(version));
193-
return;
193+
return;
194194
}
195195

196196
/* non-verbose */
@@ -211,8 +211,8 @@ lwapp_control_print(netdissect_options *ndo,
211211
LWAPP_EXTRACT_CONTROL_BIT(version) ? "Control" : "Data",
212212
LWAPP_EXTRACT_RID(version),
213213
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);
216216

217217
if (has_ap_ident) {
218218
ND_PRINT("\n\tAP identity: %s", GET_MAC48_STRING(tptr));
@@ -231,14 +231,14 @@ lwapp_control_print(netdissect_options *ndo,
231231
}
232232

233233
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);
235235
if (tlen < sizeof(struct lwapp_control_header) + msg_tlen) {
236236
ND_PRINT("\n\t Msg goes past end of PDU");
237237
break;
238238
}
239239

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);
242242
ND_PRINT("\n\t Msg type: %s (%u), Seqnum: %u, Msg len: %u, Session: 0x%08x",
243243
tok2str(lwapp_msg_type_values,"Unknown",msg_type),
244244
msg_type,
@@ -249,7 +249,7 @@ lwapp_control_print(netdissect_options *ndo,
249249
/* did we capture enough for fully decoding the message */
250250
ND_TCHECK_LEN(tptr, msg_tlen);
251251

252-
/* XXX - Decode sub messages for each message */
252+
/* XXX - Decode sub messages for each message */
253253
switch(msg_type) {
254254
case LWAPP_MSGTYPE_DISCOVERY_REQUEST:
255255
case LWAPP_MSGTYPE_DISCOVERY_RESPONSE:

0 commit comments

Comments
 (0)