This commit is contained in:
leonshaw 2025-04-29 16:20:41 +00:00 committed by GitHub
commit f0cd088276
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -181,7 +181,6 @@ ns_id_t zebra_ns_id_get(const char *netnspath, int fd_param)
}
memset(&snl, 0, sizeof(snl));
snl.nl_family = AF_NETLINK;
snl.nl_groups = RTNLGRP_NSID;
snl.nl_pid = 0; /* AUTO PID */
ret = bind(sock, (struct sockaddr *)&snl, sizeof(snl));
if (ret < 0) {