fix minor bugs related with dhcp 74/1874/2
authormirabal <leonardo.mirabal@altran.com>
Thu, 25 May 2017 12:51:15 +0000 (14:51 +0200)
committermirabal <leonardo.mirabal@altran.com>
Thu, 25 May 2017 13:58:06 +0000 (15:58 +0200)
- get_free_ip_from_range() was calculating wrong the free ip for if first and last ip is given and the range is lower than the CIDR
- Namespace loopback up must be forced.
- is_dhcp_port_free() mysql query fix

Change-Id: I1bbf9ed2c23945accc16c75d4e75da4b62ce745c
Signed-off-by: mirabal <leonardo.mirabal@altran.com>

No differences found