Commit d0560054 authored by Martin v. Löwis's avatar Martin v. Löwis

Change build format of netlink addresses.

parent 42a84fe0
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment