You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. call get_connections() on a process object on MacOS.
2. On one of the resulting connections (which has to be IPv6) get the
remote_address attribute.
What is the expected output?
The IP6 address as a string.
What do you see instead?
The encoded IP6 address.
What version of psutil are you using? What Python version?
psutil 0.4.1
On what operating system? Is it 32bit or 64bit version?
MacOS
Please provide any additional information below.
I have attached a patch that should fix this issue.
Can you regenerate the patch by using "svn diff" command?
It's not clear to me what "!" represents.
Also, what do you mean by "encoded IP6 address"? Is it a string? Can you paste it?
Sure, new patch attached. It's just a typo - it uses lip (local ip) twice
instead of lip and rip.
The report is actually wrong, I thought it's the address in binary
representation but it's actually uninitialized stack contents that are returned.
From [email protected] on May 25, 2012 15:12:45
Attachment: psutil.patch
Original issue: http://code.google.com/p/psutil/issues/detail?id=267
The text was updated successfully, but these errors were encountered: