Skip to content

Commit

Permalink
Fixes typo in IPNetwork2.cs (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored Jan 19, 2024
1 parent 137a12e commit eb718b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/System.Net.IPNetwork/IPNetwork2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ public IPAddress FirstUsable
{
get
{
BigInteger fisrt = this._family == Sockets.AddressFamily.InterNetworkV6
BigInteger first = this._family == Sockets.AddressFamily.InterNetworkV6
? this._network
: (this.Usable <= 0) ? this._network : this._network + 1;
return IPNetwork2.ToIPAddress(fisrt, this._family);
return IPNetwork2.ToIPAddress(first, this._family);
}
}

Expand Down

0 comments on commit eb718b2

Please sign in to comment.