Skip to content

Commit

Permalink
v2.0.3.5 release - fixed a bug when checking IPv6 addresses for same …
Browse files Browse the repository at this point in the history
…network
  • Loading branch information
briandunnington committed May 29, 2010
1 parent 96e4a20 commit fc293f9
Show file tree
Hide file tree
Showing 19 changed files with 233 additions and 240 deletions.
Binary file modified Growl Connectors/NET/libraries/Growl.Connector.dll
Binary file not shown.
Binary file modified Growl Connectors/NET/libraries/Growl.CoreLibrary.dll
Binary file not shown.
Binary file modified Growl Extras/Growl Display SDK/libraries/Growl.CoreLibrary.dll
Binary file not shown.
Binary file modified Growl Extras/Growl Display SDK/libraries/Growl.DisplayStyle.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Growl/Growl.Connector/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
22 changes: 18 additions & 4 deletions Growl/Growl.CoreLibrary/IPUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,24 @@ public class IPUtilities

public static bool IsInSameSubnet(IPAddress localAddress, IPAddress otherAddress)
{
IPAddress subnetMask = GetLocalSubnetMask(localAddress);
IPAddress network1 = GetNetworkAddress(localAddress, subnetMask);
IPAddress network2 = GetNetworkAddress(otherAddress, subnetMask);
return network1.Equals(network2);
try
{
// handle loopback addresses and IPv6 local addresses
if (IPAddress.IsLoopback(otherAddress)
|| otherAddress.IsIPv6LinkLocal
|| otherAddress.IsIPv6SiteLocal)
return true;

IPAddress subnetMask = GetLocalSubnetMask(localAddress);
IPAddress network1 = GetNetworkAddress(localAddress, subnetMask);
IPAddress network2 = GetNetworkAddress(otherAddress, subnetMask);
return network1.Equals(network2);
}
catch
{
DebugInfo.WriteLine(String.Format("Could not determine subnet. Local address: {0} - Remote Address: {1}", localAddress, otherAddress));
}
return false;
}

public static IPAddress GetLocalSubnetMask(IPAddress ipaddress)
Expand Down
2 changes: 1 addition & 1 deletion Growl/Growl.CoreLibrary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.Daemon/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.Destinations/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
2 changes: 1 addition & 1 deletion Growl/Growl.DisplayStyle/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.Displays.Plain/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.Displays.Smokestack/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.Displays.Standard/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.Displays.Visor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl.UDPLegacy/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
2 changes: 1 addition & 1 deletion Growl/Growl/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
// Revision
//
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.3.4")]
[assembly: AssemblyFileVersion("2.0.3.5")]
[assembly: AssemblyInformationalVersion("2.0.3")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
4 changes: 4 additions & 0 deletions Growl/Growl/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.0.3v2 changes (v2.0.3.5)
------------------------------
- fixed a but in the IPv6 same-subnet handling

2.0.3 changes (v2.0.3.4)
------------------------------
- added support for multiple monitors (Display SDK, built-in displays, and most additional displays)
Expand Down
4 changes: 2 additions & 2 deletions Growl/Growl/update.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest>
<version>2.0.3.4</version>
<version>2.0.3.5</version>
<required>True</required>
<updateLocation>http://www.growlforwindows.com/gfw/updates/gfw.manifest</updateLocation>
<installerLocation>http://www.growlforwindows.com/gfw/d.ashx?f=Growl_v2.0.3.4.zip</installerLocation>
<installerLocation>http://www.growlforwindows.com/gfw/d.ashx?f=Growl_v2.0.3.5.zip</installerLocation>
</manifest>
Loading

0 comments on commit fc293f9

Please sign in to comment.