Skip to content

Commit e1c0037

Browse files
committed
print out packet type and ID. too
1 parent 7d7335b commit e1c0037

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/listen/radius/proto_radius.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ static int mod_decode(void const *instance, request_t *request, uint8_t *const d
327327
talloc_free(decode_ctx.tmp_ctx);
328328

329329
proto_radius_log(track->li, decode_ctx.reason, &address->socket,
330-
"decoding failed (%s)", fr_strerror());
330+
"%s ID %u - decoding failed (%s)",
331+
fr_radius_packet_name[data[0]] data[1], fr_strerror());
331332
return -1;
332333
}
333334
talloc_free(decode_ctx.tmp_ctx);

0 commit comments

Comments
 (0)