Hi Murphy.
TLDR: addresses.py should be rerwitten from scratch
I come up against a following problem:
cd pox/lib && python
>>> import addresses
>>> print addresses.IPAddr("255.255.255.0") == addresses.IPAddr6("::1")
...
File "addresses.py", line 634, in __cmp__
return -cmp(other,self)
F
Hi Murphy,
Just a quick check.
the def _parse_data(self,data) method of system_capabilities module always
returns true. after a little checking,
I think the module should be bitwise & :
def _parse_data (self, data):
(cap,en) = struct.unpack("!HH", data)
del self.caps[:]
del self.en
Sure looks like a bug to me. Thanks for the report; I've added it to the
tracker on github.
-- Murphy
On Jul 15, 2014, at 8:25 PM, durga wrote:
> Hi Murphy,
>
> Just a quick check.
>
> the def _parse_data(self,data) method of system_capabilities module always
> returns true. after a little
not a problem! glad to contribute!
Cheers!
Durga
On Wed, Jul 16, 2014 at 1:31 PM, Murphy McCauley
wrote:
> Sure looks like a bug to me. Thanks for the report; I've added it to the
> tracker on github.
>
> -- Murphy
>
>
> On Jul 15, 2014, at 8:25 PM, durga wrote:
>
> Hi Murphy,
>
> Just a qu
On Tue, Jul 15, 2014 at 11:30 AM, Murphy McCauley wrote:
> This appears to be an infinite loop or an incomplete snippet.
>
> On Jul 14, 2014, at 11:56 PM, farshad tajedin
> wrote:
>
> this is my code:
> /
>
> for i in range (0,5):
> while(j<5):
>self.requ