Make sure to set the DHCP config only if there is a dhcp server ip. Missing ip can happen during the process of deleting a subnet. Change-Id: I1e8071935a01a7e07732c5033744f74769210043