Did you mean in_addr default_route_ip = in_addr(); ? I've got something that seems to work.