Change build format of netlink addresses.
This commit is contained in:
parent
42a84fe085
commit
d056005482
|
@ -958,7 +958,7 @@ makesockaddr(int sockfd, struct sockaddr *addr, int addrlen, int proto)
|
|||
case AF_NETLINK:
|
||||
{
|
||||
struct sockaddr_nl *a = (struct sockaddr_nl *) addr;
|
||||
return Py_BuildValue("ii", a->nl_pid, a->nl_groups);
|
||||
return Py_BuildValue("II", a->nl_pid, a->nl_groups);
|
||||
}
|
||||
#endif /* AF_NETLINK */
|
||||
|
||||
|
|
Loading…
Reference in New Issue