Fixed a misspelling of 0 as NULL.

This commit is contained in:
bde 2004-03-10 08:46:39 +00:00
parent 87be713f99
commit 7432091236
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ ifconfig(int argc, char *const *argv, const struct afswtch *afp)
if (afp->af_ridreq == NULL || afp->af_difaddr == 0) {
warnx("interface %s cannot change %s addresses!",
name, afp->af_name);
clearaddr = NULL;
clearaddr = 0;
}
}
if (clearaddr) {

View File

@ -244,7 +244,7 @@ do_pco(struct icmp6_router_renum *rr, int len, struct rr_pco_match *rpm)
int ifindex = 0;
struct in6_rrenumreq irr;
if ((rr_pco_check(len, rpm) != NULL))
if ((rr_pco_check(len, rpm) != 0))
return 1;
if (s == -1 && (s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {