ipcfg_binary: Fix compiler warning
This commit is contained in:
parent
71ce72a341
commit
9f9fed3232
@ -228,7 +228,7 @@ static int ipcfg_find_binary(int fd, sa_family_t af)
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
else if (hdr.version != IPCFG_VERSION ||
|
else if (hdr.version != IPCFG_VERSION ||
|
||||||
hdr.type != AF_INET && hdr.type != AF_INET6)
|
(hdr.type != AF_INET && hdr.type != AF_INET6))
|
||||||
{
|
{
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user