Skip to content

Commit

Permalink
make it clear that Message-Authenticator is auto-added
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 21, 2024
1 parent 2e86754 commit 04b4c65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/radclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,13 @@ static int send_one_packet(rc_request_t *request)

if (fr_debug_lvl > 2) rad_print_hex(request->packet);

if ((fr_debug_lvl > 0) &&
((request->packet->code == PW_CODE_ACCESS_REQUEST) ||
(request->packet->code == PW_CODE_STATUS_SERVER)) &&
!fr_pair_find_by_num(request->packet->vps, PW_MESSAGE_AUTHENTICATOR, 0, TAG_ANY)) {
fprintf(fr_log_fp, "\tMessage-Authenticator = 0x\n");
}

if (fr_debug_lvl > 0) vp_printlist(fr_log_fp, request->packet->vps);
}

Expand Down

0 comments on commit 04b4c65

Please sign in to comment.