Bug in IPv6 DHCP configuration export order

Hello,

I might have found a bug in the IPv6 DHCP configuration export order in 6.40.1 (didn’t test with earlier versions). I exported via

/export compact file=router.rsc

Upon reimporting, however, the IPv6 DHCP server failed due to a missing prefix. The reason became clear upon inspecting the RSC file. It had, in this order

/ipv6 dhcp-server add address-pool=wan interface=br-cap lease-time=1h name=lan
/ipv6 dhcp-client add interface=ether1 request=prefix pool-name=wan pool-prefix-length=64 prefix-hint=::/56 use-peer-dns=no add-default-route=yes

and so obviously the server complained that the pool was missing. I am not sure if this is a bug or intended behaviour?

Thanks,
Florian