add cidr mask support