mirror of
https://github.com/curl/curl.git
synced 2026-07-16 06:27:17 +03:00
if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code.
This commit is contained in:
parent
14c3601583
commit
a390329f60
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ bool Curl_if_is_interface_name(const char *interf)
|
|||
/* This is here just to support the old interfaces */
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue