diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2006-11-14 18:43:52 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | 67da9fb0216e7c9a412e400e543f9474a69e634d (patch) | |
tree | 6913547abd1a3a568833d33824ab62f0c20d372c /dhcp6s.c | |
parent | 88df113ad55a46685154b9bcd435836250bff80f (diff) |
fixed an IA allocation failure from pool when it doubly requested by the same client. (patch submitted by Hajimu UMEMOTO)
Diffstat (limited to 'dhcp6s.c')
-rw-r--r-- | dhcp6s.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2501,13 +2501,12 @@ make_ia(spec, conflist, retlist, client_conf, do_binding) bia = TAILQ_NEXT(bia, link)) { if ((v = dhcp6_find_listval(conflist, bia->type, &bia->uv, 0)) != NULL) { - found++; TAILQ_REMOVE(conflist, v, link); dhcp6_clear_listval(v); } } - return (found); + return (1); } /* |