<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Checking if an IP is in a subnet range. SubnetUtils.SubnetInfo isInRange bug.</title>
	<atom:link href="http://en.newinstance.it/2009/03/25/checking-if-an-ip-is-in-a-subnet-range-subnetutilssubnetinfo-isinrange-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://en.newinstance.it/2009/03/25/checking-if-an-ip-is-in-a-subnet-range-subnetutilssubnetinfo-isinrange-bug/</link>
	<description>A tech blog by Luigi R. Viggiano</description>
	<lastBuildDate>Wed, 25 Aug 2010 03:55:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Urko</title>
		<link>http://en.newinstance.it/2009/03/25/checking-if-an-ip-is-in-a-subnet-range-subnetutilssubnetinfo-isinrange-bug/comment-page-1/#comment-383959</link>
		<dc:creator>Urko</dc:creator>
		<pubDate>Tue, 02 Mar 2010 10:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://en.newinstance.it/2009/03/25/checking-if-an-ip-is-in-a-subnet-range-subnetutilssubnetinfo-isinrange-bug/#comment-383959</guid>
		<description>Hi Luigi,

I&#039;ve the same problem with Apache Commons. I&#039;ve downloaded the latest version, and still fails.

I&#039;ve make some &quot;changes&quot; to your code. I&#039;ve changed the &quot;isInRange(String)&quot; method, and not to add new method -like you-

        // Doesn&#039;t go OK
        // public  boolean isInRange(String address)       { return isInRange(toInteger(address)); }
        private boolean isInRange(int address)          { return ((address-low()) </description>
		<content:encoded><![CDATA[<p>Hi Luigi,</p>
<p>I&#8217;ve the same problem with Apache Commons. I&#8217;ve downloaded the latest version, and still fails.</p>
<p>I&#8217;ve make some &#8220;changes&#8221; to your code. I&#8217;ve changed the &#8220;isInRange(String)&#8221; method, and not to add new method -like you-</p>
<p>        // Doesn&#8217;t go OK<br />
        // public  boolean isInRange(String address)       { return isInRange(toInteger(address)); }<br />
        private boolean isInRange(int address)          { return ((address-low())</p>
]]></content:encoded>
	</item>
</channel>
</rss>
