babeld: Backward compatibility with old config files
authorBaptiste Jonglez <baptiste--git@jonglez.org>
Sat, 30 Aug 2014 22:43:29 +0000 (00:43 +0200)
committerBaptiste Jonglez <baptiste--git@jonglez.org>
Wed, 3 Sep 2014 13:01:44 +0000 (15:01 +0200)
commitd26e5eb19743c5137601a733cc3e6ba34624d390
tree43dd5a345ac629be0b42e92f0869909d4c4f4a59
parente30f3394d33a543fcb4f358f64e33aa786dfc543
babeld: Backward compatibility with old config files

This allows to use the old syntax "config interface foo" for specifying an
interface.  The new syntax ("option ifname foo") takes precedence.

Also, old option names for the "general" section are translated
accordingly.  Exceptions are:

- 'hello_interval' and 'wired_hello_interval', which are now interface-specific;
- 'conf_file', since /etc/babeld.conf is now always used;

which are simply ignored.

Beware, the syntax for the 'diversity' option is not backward compatible.
babeld/files/babeld.init