mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Add RTC_EXPORT for rtc::IPIsLinkLocal and rtc::IPIsLoopback
Required to allow private IPv6 addresses in Chromium: https://crrev.com/c/5258983 Bug: chromium:323820219 Change-Id: I25fc931f00feda9bfa2f3b92317b4b4b064f6f69 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/337600 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41664}
This commit is contained in:
parent
bda5cc63ce
commit
35fe95802d
1 changed files with 2 additions and 2 deletions
|
@ -162,8 +162,8 @@ RTC_EXPORT bool IPFromString(absl::string_view str,
|
|||
int flags,
|
||||
InterfaceAddress* out);
|
||||
bool IPIsAny(const IPAddress& ip);
|
||||
bool IPIsLoopback(const IPAddress& ip);
|
||||
bool IPIsLinkLocal(const IPAddress& ip);
|
||||
RTC_EXPORT bool IPIsLoopback(const IPAddress& ip);
|
||||
RTC_EXPORT bool IPIsLinkLocal(const IPAddress& ip);
|
||||
// Identify a private network address like "192.168.111.222"
|
||||
// (see https://en.wikipedia.org/wiki/Private_network )
|
||||
bool IPIsPrivateNetwork(const IPAddress& ip);
|
||||
|
|
Loading…
Reference in a new issue