mirror of https://github.com/mkerrisk/man-pages
netlink.7: wsfix
This commit is contained in:
parent
bfc40b3d71
commit
48011c24d7
|
@ -388,7 +388,7 @@ snl.nl_family = AF_NETLINK;
|
|||
snl.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;
|
||||
|
||||
fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
|
||||
bind(fd, (struct sockaddr*)&sa, sizeof(sa));
|
||||
bind(fd, (struct sockaddr *) &sa, sizeof(sa));
|
||||
.fi
|
||||
.in
|
||||
|
||||
|
|
Loading…
Reference in New Issue