Re: [Babel-users] Specify router-id explicitly

2015-08-20 Thread Juliusz Chroboczek
>> Therefore at least for those purposes it has to be there, if we were to >> use it. > > Okay, then I'll make it into a config file option, and hope that people > aren't that stupid. I've just done that -- the "-R" flag is gone, and there is a new "router-id" configuration option. I can make a

Re: [Babel-users] [PATCH v4 2/2] Add configuration flag to skip initial kernel setup.

2015-08-20 Thread Juliusz Chroboczek
Applied, thanks. ___ Babel-users mailing list Babel-users@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

[Babel-users] [PATCH v4 1/2] Rework sysctl writing to only write when needed.

2015-08-20 Thread Toke Høiland-Jørgensen
This reworks the sysctl handling to only write a sysctl if it is not already the desired value. In addition, the Linux sysctl knobs are now stored in a lookup table which is looped through, to avoid code duplication in the setup routine. Signed-off-by: Toke Høiland-Jørgensen --- kernel_netlink.c

[Babel-users] [PATCH v4 2/2] Add configuration flag to skip initial kernel setup.

2015-08-20 Thread Toke Høiland-Jørgensen
This adds a configuration flag to skip kernel (sysctl) setup on daemon startup. This can be useful if running in, e.g., a container environment where setting sysctls are not allowed. Signed-off-by: Toke Høiland-Jørgensen --- babeld.c | 1 + babeld.h | 1 + babeld.man | 5 ++

Re: [Babel-users] [PATCH v3 1/2] Rework sysctl writing to only write when needed.

2015-08-20 Thread Toke Høiland-Jørgensen
On 20 August 2015 02:25:19 BST, Juliusz Chroboczek wrote: >> +if(s->was != s->want) { >> +rc = write_proc(s->name, s->want); >> +if(rc < 0) { >> +perror("Couldn't write sysctl"); >> +return -1; >> +