if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code.
This commit is contained in:
parent
14c3601583
commit
a390329f60
@ -191,7 +191,7 @@ bool Curl_if_is_interface_name(const char *interf)
|
|||||||
/* This is here just to support the old interfaces */
|
/* This is here just to support the old interfaces */
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
|
||||||
return (Curl_if2ip(AF_INET, 0, interf, buf, sizeof(buf)) ==
|
return (Curl_if2ip(AF_INET, 0 /* unused */, 0, interf, buf, sizeof(buf)) ==
|
||||||
IF2IP_NOT_FOUND) ? FALSE : TRUE;
|
IF2IP_NOT_FOUND) ? FALSE : TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user