1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-18 05:03:57 +02:00
Commit Graph

64 Commits

Author SHA1 Message Date
Steven Barth
69f203d5c3 Add SPDX license tags
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:17:00 +01:00
Casper Meijn
959f053b48 babeld: create the directory for the config file before writing to it 2014-09-08 14:50:46 +02:00
Baptiste Jonglez
5a554d27cc babeld: Specify edge cases 2014-09-03 15:12:33 +02:00
Baptiste Jonglez
de3e16ba82 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.
2014-08-31 00:53:36 +02:00
Baptiste Jonglez
8fb7fe0a59 babeld: Update configuration file for new syntax 2014-08-31 00:49:27 +02:00
Baptiste Jonglez
9bb7b1b03b babeld: Support default interface configuration
When a "section interface" does not have a "option ifname", all its
options are used as default interface options.
2014-08-29 10:19:42 +02:00
Baptiste Jonglez
539de92a4c babeld: Take interface name from "option ifname"
Previously, we were using the name of the section as the interface name,
but this has several drawbacks:

- no "-" or other special characters are allowed in a section name,
  preventing some physical interface names to be specified this way
  (e.g. "tun-topeka" would not work)
- it is harder to support default interface options (no interface name)

This change is not backward compatible, but a later commit will fix that.
2014-08-29 10:19:42 +02:00
Baptiste Jonglez
a4f5570e79 babeld: Handle ignore options 2014-08-29 10:19:41 +02:00
Baptiste Jonglez
84422673a4 babeld: Print an error when startup fails 2014-08-29 10:19:41 +02:00
Baptiste Jonglez
f81d53fad2 babeld: Generate a configuration file instead of passing cmdline arguments
This is the first step toward fixing issue #33.

This still lacks some features:

- no support for "ignore" options
- no backward compatibility for option names
- no support for default interface options
2014-08-29 10:19:41 +02:00
Baptiste Jonglez
25f7667e0e babeld: Update to 1.5.1 2014-08-28 01:48:49 +02:00
Baptiste Jonglez
127d0dcfcf babeld: fix configuration for new options 2014-06-08 12:47:50 +09:00
Gabriel Kerneis
6c4438c93b babeld: new upstream release 1.5.0
22 May 2014: babeld-1.5.0

  * Added support for an RTT-based metric -- see the description of
    "enable-timestamps" in the manual page.  This work was done by
    Baptiste Jonglez with help from Matthieu Boutier.
2014-06-01 14:15:10 +01:00
Gabriel Kerneis
c4de5a575b babeld: migrate from openwrt/packages
- Update maintainer email address
- Wait for babel to die in init script (avoid race-condition on restart)

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
2013-10-28 16:20:38 +00:00