Fix error when use v6 without mask in api-allow