Index: webrtc/base/ipaddress.cc |
diff --git a/webrtc/base/ipaddress.cc b/webrtc/base/ipaddress.cc |
index ae3b38da8b1a35e421882e846c592ad9ace968f2..768a7092a3c797db17c86748cc15b9387cd3a1dd 100644 |
--- a/webrtc/base/ipaddress.cc |
+++ b/webrtc/base/ipaddress.cc |
@@ -54,6 +54,10 @@ uint32 IPAddress::v4AddressAsHostOrderInteger() const { |
} |
} |
+bool IPAddress::IsNil() const { |
+ return IPIsUnspec(*this); |
+} |
+ |
size_t IPAddress::Size() const { |
switch (family_) { |
case AF_INET: |