[FS#3744] static IPv6 routes to gateways within the ULA address range are not restored on startup

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Apr 19 15:38:55 BST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3744 - static IPv6 routes to gateways within the ULA address range are not restored on startup
User who did this - Erik Tews (eriktews)

----------
I think after looking at the source code of **netifd**, I also know why this happens. First of all, the static IP addresses and routes for the interface are processed:

https://github.com/git-openwrt-org-mirror/netifd/blob/master/config.c#L744

Afterwards, the globals (which contain the ULA prefix) are initialized:

https://github.com/git-openwrt-org-mirror/netifd/blob/master/config.c#L746

The correct order might be to initialize the IP addresses first, then add the ULA prefix addresses from the //globals// and then add the routes.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3744#comment9563

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list