On 2016-07-04 15:22, Thierry Du Tre wrote:
> Hi Felix,
> 
> I noticed an inconsistency with following description on the Wiki page 
> for network config, section type 'route' (IPv4 Routes), option 'gateway' :
> "Network gateway. If omitted, the gateway from the parent interface is 
> taken; if set to 0.0.0.0 no gateway will be specified for the route"
Not sure where that part of the wiki came from. I think when omitting a
gateway, the behavior of not using a gateway makes more sense than
implicitly looking up an existing default gateway.

However, I do see the point in having support for the behavior you're
expecting as well. Maybe it would be useful to change netifd to look up
the gateway if the option is set to '*'.

Feel free to propose a patch for it.

- Felix

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to