[issue21287] Better support for AF_PACKET on opensolaris (illumos)

Игорь Пашев report at bugs.python.org
Thu Apr 17 20:39:07 CEST 2014


New submission from Игорь Пашев:

SIOCGIFINDEX could be defined in illumos (aka OpenSolaris) if BSD_COMP macro defined. This causes known error: no member ifr_ifindex in struct ifreq.

But OpenSolaris provides newer interface with struct lifreq and SIOCGLIFINDEX.

Attached patch tries to use it.

----------
components: Library (Lib)
files: dyson-socketmodule-ifindex.patch
keywords: patch
messages: 216727
nosy: Игорь.Пашев
priority: normal
severity: normal
status: open
title: Better support for AF_PACKET on opensolaris (illumos)
type: compile error
versions: Python 3.4
Added file: http://bugs.python.org/file34952/dyson-socketmodule-ifindex.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21287>
_______________________________________


More information about the Python-bugs-list mailing list