Changeset 36990


Ignore:
Timestamp:
2013-06-21T18:53:06+02:00 (5 years ago)
Author:
kerneis
Message:

[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.
Location:
packages/net/babel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/babel/Makefile

    r36728 r36990  
    99 
    1010PKG_NAME:=babeld 
    11 PKG_VERSION:=1.4.1 
     11PKG_VERSION:=1.4.2 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/ 
    16 PKG_MD5SUM:=406bbd940e3a9019d832d20e277266f2 
     16PKG_MD5SUM:=a48e8129f221f66640ae1ccf73190991 
    1717 
    1818include $(INCLUDE_DIR)/package.mk 
  • packages/net/babel/files/babeld.config

    r36586 r36990  
    2424        # Use the given kernel routing table for routes inserted by babeld. 
    2525        ## option 'export_table' '0' 
    26         # Export routes from the given kernel routing table. 
    27         ## option 'import_table' '0' 
     26        # Export routes from the given kernel routing tables. 
     27        ## list 'import_table' '0' 
     28        ## list 'import_table' '42' 
    2829        # The configuration file is not necessary since you can do everything 
    2930        # from this file. 
  • packages/net/babel/files/babeld.init

    r36586 r36990  
    3232        config_get_bool _loctmp "$section" "$option" 0 
    3333        [ "$_loctmp" -gt 0 ] && append args "$value" 
     34} 
     35 
     36append_switch() { 
     37        local value="$1" 
     38        local switch="$2" 
     39        append args "$switch $value" 
    3440} 
    3541 
     
    113119        append_parm "$cfg" 'local_server' '-g' 
    114120        append_parm "$cfg" 'export_table' '-t' 
    115         append_parm "$cfg" 'import_table' '-T' 
     121        config_list_foreach "$cfg" 'import_table' append_switch '-T' 
    116122        append_parm "$cfg" 'conf_file' '-c' 
    117123        append_parm "$cfg" 'log_file' '-L' 
Note: See TracChangeset for help on using the changeset viewer.