tree-wide: use AF_NETLINK instead of PF_NETLINK

This commit is contained in:
Yu Watanabe
2021-10-18 22:46:37 +02:00
committed by Lennart Poettering
parent ec3f41e09c
commit 0522729e19
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ int expose_port_send_rtnl(int send_fd) {
assert(send_fd >= 0);
fd = socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_ROUTE);
fd = socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_ROUTE);
if (fd < 0)
return log_error_errno(errno, "Failed to allocate container netlink: %m");