diff --git a/rtnl.c b/rtnl.c index 5cddc4b..d7a430d 100644 --- a/rtnl.c +++ b/rtnl.c @@ -151,7 +151,7 @@ int rtnl_open(void) memset(&sa, 0, sizeof(sa)); sa.nl_family = AF_NETLINK; - sa.nl_groups = RTMGRP_LINK; + sa.nl_groups = RTNLGRP_LINK; fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (fd < 0) {