Change build format of netlink addresses.

This commit is contained in:
Martin v. Löwis 2006-01-15 07:49:20 +00:00
parent 42a84fe085
commit d056005482
1 changed files with 1 additions and 1 deletions

View File

@ -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 */