Changeset View
Changeset View
Standalone View
Standalone View
sbin/ipfw/nat64clat.c
Context not available. | |||||
if ((p = strchr(*av, '/')) != NULL) | if ((p = strchr(*av, '/')) != NULL) | ||||
*p++ = '\0'; | *p++ = '\0'; | ||||
else | |||||
errx(EX_USAGE, | |||||
"Bad prefix: %s", *av); | |||||
if (inet_pton(AF_INET6, *av, &prefix) != 1) | if (inet_pton(AF_INET6, *av, &prefix) != 1) | ||||
errx(EX_USAGE, | errx(EX_USAGE, | ||||
"Bad prefix: %s", *av); | "Bad prefix: %s", *av); | ||||
Context not available. |