while (uids != NULL) {
if (uids->packet->tag == 13) {
snprintf(buf, 1023, "%.*s",
(int) uids->packet->length,
uids->packet->data);
while (uids != NULL) {
if (uids->packet->tag == 13) {
snprintf(buf, 1023, "%.*s",
(int) uids->packet->length,
uids->packet->data);