Skip to content

Commit

Permalink
Merge 760b527 into a0966e9
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Sep 13, 2021
2 parents a0966e9 + 760b527 commit b31bebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipv4_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl Ipv4Network {
pub fn is_global(&self) -> bool {
let octets = self.network_address.octets();
// These address are only two globally routable from IETF Protocol Assignments.
if self.netmask == 32 && (octets == [192, 168, 0, 9] || octets == [192, 168, 0, 10]) {
if self.netmask == 32 && (octets == [192, 0, 0, 9] || octets == [192, 0, 0, 10]) {
return true;
}

Expand Down

0 comments on commit b31bebc

Please sign in to comment.