Re: [PATCH netifd 4/4] interface: proto_ip: order by address index first

2020-10-21 Thread Hans Dedecker
On Wed, Oct 21, 2020 at 5:08 AM Yousong Zhou wrote: > > At the moment, dnsmasq initscript generates dhcp-range for an interface > by inspecting first address of that interface from netifd ubus output. > > Order by address index as specified in the uci config make netifd ubus > output consistent wi

[PATCH netifd 4/4] interface: proto_ip: order by address index first

2020-10-20 Thread Yousong Zhou
At the moment, dnsmasq initscript generates dhcp-range for an interface by inspecting first address of that interface from netifd ubus output. Order by address index as specified in the uci config make netifd ubus output consistent with linux network interfaces' primary/secondary address settings.