This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thedeuce
Date 2004-05-03.23:36:11
SpamBayes Score
Marked as misclassified
The current implementation of AF_PACKET only uses the
device name and protocol options even when a 5-tuple of
Device, Protocol, Packet Type, Hardware Type, and
Hardware Address are supplied.  I needed
socket.sendto() to support sending to a Hardware
Address, so this patch supports such functionality.

The length check on the hardware address is hard coded
to 8 since that is the value used in the sockaddr_ll

I'm not that familiar with the Python internals, so
s->errorhandler() may not be the best call to make for
an invalid hardware address length.
Date User Action Args
2007-08-23 15:37:37adminlinkissue947352 messages
2007-08-23 15:37:37admincreate