tools/mesh: Fix reclaiming address range
authorInga Stotland <inga.stotland@intel.com>
Wed, 15 Aug 2018 20:16:52 +0000 (13:16 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Mon, 16 Dec 2019 06:12:40 +0000 (11:42 +0530)
commitb12562978b1ba90dfa20df32cd4e27e04b240cb0
tree364facb62ea960387f965cb67dde95e7cc45577b
parentd80e08d2b76044d0db9c21cf77cf60fb4474f22c
tools/mesh: Fix reclaiming address range

The computations for reclaiming released unicast addresses back
into address pool were off by 1. Also, the adjacent pools need
to be merged, if the released range fills the gap between two
address pools.

Change-Id: If420d6a914067880250d78f6de955a071fcf5fe7
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
tools/mesh/net.c