Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix endless loop when there are multiple DHCP options

  • Loading branch information...
commit 4dc7800b866f889a1247685bbaa6dd4238a56279 1 parent 96b33f7
@alandekok authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/lib/dhcp.c
View
2  src/lib/dhcp.c
@@ -714,7 +714,7 @@ int fr_dhcp_decode(RADIUS_PACKET *packet)
}
*tail = vp;
- while (*tail) tail = &vp->next;
+ while (*tail) tail = &(*tail)->next;
p += alen;
} /* loop over array entries */
} /* loop over the entire packet */
Please sign in to comment.
Something went wrong with that request. Please try again.