[PATCH] PrefixLength handling for IPv4 and better error reporting