Skip to content

Commit a08c346

Browse files
committed
print out strerror, too
1 parent e3c8255 commit a08c346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/listen/radius/proto_radius.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ 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");
330+
"decoding failed (%s)", fr_strerror());
331331
return -1;
332332
}
333333
talloc_free(decode_ctx.tmp_ctx);

0 commit comments

Comments
 (0)