Fix for null as an ip addr in case of unset RFC1918 address

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>