summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-02-09 10:50:35 +0100
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-02-13 18:03:41 +0100
commitd1ddd581e699333cd5eea06ebf8caf96890e2b74 (patch)
tree9f8159bd4af49da9bff9ac9ae6fbbcf0babfb5a8 /unit
parent768a37983196a19aedf8b8c0e1fc20dd436c5aa0 (diff)
downloadconnman-d1ddd581e699333cd5eea06ebf8caf96890e2b74.tar.gz
connman-d1ddd581e699333cd5eea06ebf8caf96890e2b74.tar.bz2
connman-d1ddd581e699333cd5eea06ebf8caf96890e2b74.zip
ippool: Fix collision detection altorithm
Track only private address ranges in a list. If the first IP is assigned for a range check if a pool collides. For this we need to check all entries in the list if the new IP is the range of an allocated pool. This can be made faster with the right data structure and algorithm (e.g. segment overlap detection algorithms).
Diffstat (limited to 'unit')
0 files changed, 0 insertions, 0 deletions