OpenELEC/OpenELEC.tv — pull request #1625 by stefansaraev (2012-12-17 18:55:06+00:00)
Title: connman: add -linklocal-routes.patch

the purpose of this patch is to (re)add a 169.254.0.0/16 static route every time a default gateway is set on an interface

I have tested it on my htpc and it works, but I can not test on a configuration with more than 1 active interface. I hope @vpeter4 and @mindnever could help here.

another important thing, I am not sure how this should be implemented because I am not much familiar with connman internals, so basicaly it is a workaround.

almost 100% sure that this patch will not do any unexpected damage, but pls don't merge yet until anyone confirms that it's fine on a setup with more than 1 network interfaces.

if merged, should fix #1619