Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2410)

Unified Diff: net/tools/quic/quic_simple_server_bin.cc

Issue 1809863002: Update some callers to use more direct ways of constructing IPAddress from well known literals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rch feedbak Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/quic_simple_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_bin.cc
diff --git a/net/tools/quic/quic_simple_server_bin.cc b/net/tools/quic/quic_simple_server_bin.cc
index b92a926668c60405d4f9d789395145d6b9d48ae0..b04bf15bce39bfd02e3e003aae3daea912158b26 100644
--- a/net/tools/quic/quic_simple_server_bin.cc
+++ b/net/tools/quic/quic_simple_server_bin.cc
@@ -77,8 +77,7 @@ int main(int argc, char* argv[]) {
return 1;
}
- net::IPAddress ip;
- CHECK(ip.AssignFromIPLiteral("::"));
+ net::IPAddress ip = net::IPAddress::IPv6AllZeros();
net::QuicConfig config;
net::QuicSimpleServer server(
« no previous file with comments | « net/tools/quic/quic_simple_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698