On 07/22/2012 08:20 AM, Marek Lindner wrote:
On Friday, July 20, 2012 04:24:11 Nicolás Echániz wrote:
there's no gateway being selected until I manually run: # batctl gw_mode client 1 (which was te current mode anyway) on each client.
In fact, connected computers are not being served DHCP offers because of this.
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 your prompt reply :)