babeld: tweak configuration for source-specific features
[feed/routing.git] / babeld / files / babeld.init
index 180fc7e04f8f1082d7930221a16dad7f8fb22c9d..ae1e6786756734fc9f1a8e9ef8a6cc827de9ddcd 100755 (executable)
@@ -127,6 +127,10 @@ babel_filter() {
        append_parm "$cfg" 'eq' 'eq'
        append_parm "$cfg" 'le' 'le'
        append_parm "$cfg" 'ge' 'ge'
+       append_parm "$cfg" 'src_ip' 'src-ip'
+       append_parm "$cfg" 'src_eq' 'src-eq'
+       append_parm "$cfg" 'src_le' 'src-le'
+       append_parm "$cfg" 'src_ge' 'src-ge'
        append_parm "$cfg" 'neigh' 'neigh'
        append_parm "$cfg" 'id' 'id'
        append_parm "$cfg" 'proto' 'proto'
@@ -199,6 +203,7 @@ babel_config_cb() {
 
 start() {
        mkdir -p /var/lib
+       mkdir -p /var/etc
        # Start by emptying the generated config file
        >"$CONFIGFILE"
        # First load the whole config file, without callbacks, so that we are