Commit 88a965f
committed
interface-ip: install routes after IPv6 prefix address setup
In interface_ip_set_enabled(), routes are currently installed after IP
addresses are set up, but before IPv6 prefix addresses are set up. This
prevents configured static IPv6 routes that have next hops set to
addresses belonging to those prefixes from being installed during
interface setup as the relevant netlink requests return -EHOSTUNREACH
(No route to host). Fix by deferring route installation until after
IPv6 prefix addresses are configured.
Signed-off-by: Michał Kępień <michal@isc.org>1 parent 3a78780 commit 88a965f
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1727 | 1727 | | |
1728 | 1728 | | |
1729 | 1729 | | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
1735 | | - | |
1736 | 1730 | | |
1737 | 1731 | | |
1738 | 1732 | | |
| |||
1753 | 1747 | | |
1754 | 1748 | | |
1755 | 1749 | | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
| |||
0 commit comments