mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 02:00:31 -04:00
libusb: Fix netlink sysevent multicast group name
Reviewed by: hrs Differential Revision: https://reviews.freebsd.org/D50739
This commit is contained in:
parent
0c89182231
commit
4acd63a626
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ netlink_init(libusb_context *ctx)
|
|||
if (modfind("nlsysevent") < 0)
|
||||
return (false);
|
||||
if (!snl_init(&ctx->ss, NETLINK_GENERIC) || (group =
|
||||
snl_get_genl_mcast_group(&ctx->ss, "nlsysevent", "ACPI", NULL)) == 0)
|
||||
snl_get_genl_mcast_group(&ctx->ss, "nlsysevent", "USB", NULL)) == 0)
|
||||
return (false);
|
||||
|
||||
if (setsockopt(ctx->ss.fd, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, &group,
|
||||
|
|
|
|||
Loading…
Reference in a new issue