diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2016-01-22 19:34:41 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-01-28 15:38:28 +0000 |
commit | d277ddb78abd034eb0e1c088ac969cdeef10d9e2 (patch) | |
tree | 60c9bb30db4d27cdb0a29599e653bb4661d3dbc3 /src/ra.c | |
parent | 6326ab374ede4fff1e8019a50d4b9854b8db7625 (diff) | |
download | odhcp6c-d277ddb78abd034eb0e1c088ac969cdeef10d9e2.tar.gz |
Fix iteration after expiring a list entry
After removing an entry, the next entry will be at the same offset as
the entry we just removed. Also the total length will have changed.
Update the length when we remove an entry, and advance the offset only
when we don't.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'src/ra.c')
0 files changed, 0 insertions, 0 deletions