[packages] babeld: new upstream release 1.4.2
INCOMPATIBLE CHANGE: the former option import_table is now a list in /etc/config/babeld. Default values for interface parameters, introduced in this release, are not supported yet in UCI config. 19 June 2013: babeld-1.4.2 * Extensive changes to the configuration parser. It is now possible to set all command-line options from the configuration file, and to specify default values for interface parameters. * Allow redistributing routes from multiple kernel tables. Thanks to Toke Høiland-Jørgensen. * Fix some whitespace issues in the configuration parser. * Fix a bug in the configuration parser that could give wrong values to some exotic interface parameters (channel and faraway). * Fix a bug that could cause some extra traffic at shutdown. Thanks to Matthieu Boutier. * Under Linux, set rp_filter explicitly for all interfaces. This avoids mysterious routing failures on distributions that set rp_filter by default. Reported by Baptiste Jonglez. git-svn-id: svn://svn.openwrt.org/openwrt/packages@36990 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6ec3f47552
commit
9f041557a0
@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=babeld
|
||||
PKG_VERSION:=1.4.1
|
||||
PKG_VERSION:=1.4.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/
|
||||
PKG_MD5SUM:=406bbd940e3a9019d832d20e277266f2
|
||||
PKG_MD5SUM:=a48e8129f221f66640ae1ccf73190991
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -23,8 +23,9 @@ config general
|
||||
## option 'keep_unfeasible' 'false'
|
||||
# Use the given kernel routing table for routes inserted by babeld.
|
||||
## option 'export_table' '0'
|
||||
# Export routes from the given kernel routing table.
|
||||
## option 'import_table' '0'
|
||||
# Export routes from the given kernel routing tables.
|
||||
## list 'import_table' '0'
|
||||
## list 'import_table' '42'
|
||||
# The configuration file is not necessary since you can do everything
|
||||
# from this file.
|
||||
# option 'conf_file' '/etc/babeld.conf'
|
||||
|
@ -33,6 +33,12 @@ append_bool() {
|
||||
[ "$_loctmp" -gt 0 ] && append args "$value"
|
||||
}
|
||||
|
||||
append_switch() {
|
||||
local value="$1"
|
||||
local switch="$2"
|
||||
append args "$switch $value"
|
||||
}
|
||||
|
||||
append_parm() {
|
||||
local section="$1"
|
||||
local option="$2"
|
||||
@ -112,7 +118,7 @@ babel_config() {
|
||||
append_parm "$cfg" 'debug' '-d'
|
||||
append_parm "$cfg" 'local_server' '-g'
|
||||
append_parm "$cfg" 'export_table' '-t'
|
||||
append_parm "$cfg" 'import_table' '-T'
|
||||
config_list_foreach "$cfg" 'import_table' append_switch '-T'
|
||||
append_parm "$cfg" 'conf_file' '-c'
|
||||
append_parm "$cfg" 'log_file' '-L'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user