Fix for DHCP ip addresses
Fixed typo in db_connect error handler