fixed a bug in is_RFC1918_addr