| Index: net/base/ip_address.cc
|
| diff --git a/net/base/ip_address.cc b/net/base/ip_address.cc
|
| index b805317eef3675ea0dafe63353bef32bb199c8aa..3dc9ea471424873a88d607b6c81dcd1c2fd41a07 100644
|
| --- a/net/base/ip_address.cc
|
| +++ b/net/base/ip_address.cc
|
| @@ -181,7 +181,7 @@ bool ParseCIDRBlock(const std::string& cidr_literal,
|
|
|
| // Parse the prefix length.
|
| int number_of_bits = -1;
|
| - if (!ParseNonNegativeDecimalInt(parts[1], &number_of_bits))
|
| + if (!ParseNonNegativeInteger(parts[1], &number_of_bits))
|
| return false;
|
|
|
| // Make sure the prefix length is in a valid range.
|
|
|