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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to