Skip to content

Commit

Permalink
Fix endless loop when there are multiple DHCP options
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed May 29, 2010
1 parent 96b33f7 commit 4dc7800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dhcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4dc7800

Please sign in to comment.