babeld: Backward compatibility with old config files 47/head
authorBaptiste Jonglez <baptiste--git@jonglez.org>
Sat, 30 Aug 2014 22:43:29 +0000 (00:43 +0200)
committerBaptiste Jonglez <baptiste--git@jonglez.org>
Sat, 30 Aug 2014 22:53:36 +0000 (00:53 +0200)
commitde3e16ba82d6fe410e609cf6e8b68483f03d6d20
tree6e607ff795aa827037cdcdaa8e6a54bf1010ded9
parent8fb7fe0a5994690127faebe7845ecdfeee9d99a6
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