summaryrefslogtreecommitdiff
path: root/lib/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/packet.c')
-rw-r--r--lib/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/packet.c b/lib/packet.c
index 7872a5a..cdd094a 100644
--- a/lib/packet.c
+++ b/lib/packet.c
@@ -203,7 +203,7 @@ _read_cb (struct bufferevent *bev, void *ctx)
return;
}
- /* decode and decrypt */
+ /* Decode and decrypt. */
if (rad_decode (pkt->rpkt, pkt->original->rpkt,
pkt->conn->active_peer->secret))
{
@@ -486,6 +486,7 @@ rs_packet_destroy(struct rs_packet *pkt)
{
if (pkt)
{
+ // TODO: free all attributes
rad_free (&pkt->rpkt);
rs_free (pkt->conn->ctx, pkt);
}