[tahoe-lafs-trac-stream] [tahoe-lafs] #1707: iputil cannot get local IP addresses on newer Dragonfly BSD (sys.platform == "dragonfly2")
tahoe-lafs
trac at tahoe-lafs.org
Sun Jun 9 01:47:30 UTC 2013
#1707: iputil cannot get local IP addresses on newer Dragonfly BSD (sys.platform
== "dragonfly2")
------------------------+----------------------------------
Reporter: phma | Owner: davidsarah
Type: defect | Status: assigned
Priority: normal | Milestone: soon
Component: code | Version: 1.9.1
Resolution: | Keywords: iputil dragonfly bsd
Launchpad Bug: |
------------------------+----------------------------------
Comment (by phma):
I added this line to _platform_map in iputil.py and it works:
"dragonfly3": "bsd",
The problem with this is that, when DragonFly 4 comes out, it will break.
The OS recognition should be done by prefix substring matching instead.
Any OS name that begins with "openbsd" or "netbsd" or "freebsd" or
"dragonfly" is a BSD, regardless of the version number.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1707#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list