193
209
* a lot more than radeapclient.
195
211
if (rad_verify(*rep, req, secret) != 0) {
200
216
if (rad_decode(*rep, req, secret) != 0) {
205
221
/* libradius debug already prints out the value pairs for us */
207
223
printf("Received response ID %d, code %d, length = %d\n",
208
224
(*rep)->id, (*rep)->code, (*rep)->data_len);
209
225
vp_printlist(stdout, (*rep)->vps);