Commit a390329f authored by Patrick Monnerat's avatar Patrick Monnerat
Browse files

if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code.

parent 14c36015
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}