GH-107812: extend socket's netlink support to FreeBSD#107813
GH-107812: extend socket's netlink support to FreeBSD#107813corona10 merged 2 commits intopython:mainfrom
socket's netlink support to FreeBSD#107813Conversation
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
corona10
left a comment
There was a problem hiding this comment.
I think that you have to declare AF_NETLINK something like this way, no?
cpython/Modules/socketmodule.h
Lines 98 to 105 in 0a7f48b
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
Thanks, i missed that bit. |
on FreeBSD, netlink.h lives under netlink. Extend the AC_HEADER_CHECK to look there as well.
|
I have made the requested changes; please review again! |
|
Thanks for making the requested changes! @corona10: please review the changes made to this pull request. |
this patch backports GH-107812: extend socket's netlink support to FreeBSD see python/cpython#107813 for the patch. see python/cpython#107812 for the discussion on the backport itself. Sponsored by: The FreeBSD Foundation
On FreeBSD,
netlink.hlives under thenetlinkdirectory.Extend the
AC_CHECK_HEADERSto look there as well.