1 /* Copyright 2011 NORDUnet A/S. All rights reserved.
2 See the file COPYING for licensing information. */
4 #if defined HAVE_CONFIG_H
10 #include <freeradius/libradius.h>
11 #include <radsec/radsec.h>
12 #include <radsec/radsec-impl.h>
16 rs_dump_packet (const struct rs_packet *pkt)
18 const RADIUS_PACKET *p = NULL;
20 if (!pkt || !pkt->rpkt)
24 fprintf (stderr, "\tCode: %u, Identifier: %u, Lenght: %u\n",
33 _rs_debug (const char *fmt, ...)
39 n = vfprintf (stderr, fmt, args);