summaryrefslogtreecommitdiffstats
path: root/lib/route
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2020-10-29 10:30:09 (GMT)
committerThomas Haller <thaller@redhat.com>2020-12-25 13:47:29 (GMT)
commit764c30a272b452e423740da60eaf7cce75895953 (patch)
treecad352d9faacf251b366f113f84c52f6d3dacac3 /lib/route
parentb24e833e645184e42352cbed3a1909a4ec5820d4 (diff)
downloadlibnl-764c30a272b452e423740da60eaf7cce75895953.zip
libnl-764c30a272b452e423740da60eaf7cce75895953.tar.gz
libnl-764c30a272b452e423740da60eaf7cce75895953.tar.bz2
route: let route/link join RTNLGRP_IPV6_IFINFO mcast group
Required to be notified about inet6 managed/otherconf flag changes, see occurrences of inet6_ifinfo_notify in net/ipv6/ndisc.c of the Linux kernel. https://github.com/thom311/libnl/pull/264
Diffstat (limited to 'lib/route')
-rw-r--r--lib/route/link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/route/link.c b/lib/route/link.c
index 9733f51..b330755 100644
--- a/lib/route/link.c
+++ b/lib/route/link.c
@@ -3163,6 +3163,7 @@ static struct nl_object_ops link_obj_ops = {
static struct nl_af_group link_groups[] = {
{ AF_UNSPEC, RTNLGRP_LINK },
{ AF_BRIDGE, RTNLGRP_LINK },
+ { AF_INET6, RTNLGRP_IPV6_IFINFO },
{ END_OF_GROUP_LIST },
};