On Monday, July 23, 2012 11:02:49 Nicolás Echániz wrote:
Is this some known behavior or just something I overlooked?
In fact you managed to uncover a regression that was overlooked for quite some time. Guess gw selection class 1 is rarely used. :-)
Can you apply the attached patch and verify that it fixes the problem ? Here in my test setup it does.
Marek patch applied (thanks Guido) and verified. gw_mode client 1 is now properly selecting a gateway when set in the config.
Thanks for testing the patch. I updated the OpenWrt package and will provide a patch that goes into the next release.