mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 02:30:18 +01:00
Two things: 1) we need to bounce IPv6 on the interface because otherwise the kernel won't start listening for new RAs. So code gets added to handle the 'disable_ipv6' /proc/sys/net/ipv6 parameter for each interface. 2) Second, we need to grab a default route (if we find one) before reading addresses, so that we can add it to each address that we get out of the kernel. Most of the time we'll get an -EEXIST error when adding address, but that's OK since we're just trying to add the same route back that the kernel already added from the RA. We also need to make sure the route and address caches are up-to-date otherwise we won't get a complete picture of the routing table. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| nm-ip6-manager.c | ||
| nm-ip6-manager.h | ||