Skip to content

Commit

Permalink
When freeing the ID, mark the src as AF_UNSPEC, too. Fixes #606
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 26, 2014
1 parent 2e38def commit 539e504
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/packet.c
Expand Up @@ -824,6 +824,8 @@ bool fr_packet_list_id_free(fr_packet_list_t *pl,
pl->num_outgoing--;

request->id = -1;
request->src_ipaddr.af = AF_UNSPEC; /* id_alloc checks this */
request->src_port = 0;

return true;
}
Expand Down

0 comments on commit 539e504

Please sign in to comment.