} while (0)
switch (packet->hdr.type) {
- default:
- print_hex(log, file, line, " data ", p, length);
- return;
+ default:
+ print_hex(log, file, line, " data ", p, length);
+ return;
case FR_TAC_PLUS_AUTHEN:
if (packet_is_authen_start_request(packet)) {
ASCII(" server_msg ", fr_nbo_to_uint16(hdr + 2));
HEXIT(" data ", fr_nbo_to_uint16(hdr + 4));
}
+
+ fr_assert(p == end);
break;
case FR_TAC_PLUS_AUTHOR:
ASCII(" server_msg ", fr_nbo_to_uint16(hdr));
HEXIT(" data ", fr_nbo_to_uint16(hdr + 2));
+
+ fr_assert(p == end);
}
break;
}
-
- fr_assert(p == end);
}
int fr_tacacs_global_init(void)