OLSR / OONF

OLSR.org Network Framework - olsrd v2 / DLEP
55 stars 35 forks source link

Documentation of route_modifier doesn't mention that the section is named #53

Open jpo-github-work opened 2 years ago

jpo-github-work commented 2 years ago

Talking about The Wiki page "Route Modifier Plugin"

As the title says, an entry without name doesn't do anything:

[route_modifier]
    matches default_accept
    protocol 106

While a named enty works as expected:

[route_modifier=1]
    matches default_accept
    protocol 106

And I assume, that the section names allow multiple simultaneous modification rules to coexist.

jpo-github-work commented 2 years ago

In addition, the Wiki documentation contradicts README_ROUTE_MODIFIER. The README shows the named configuration but uses filterto match routing targets. According to the sources, the Wiki page is correct and the option is named matches.

HRogge commented 2 years ago

The wiki has not been updated for a long time... for current parameter 'documentation', use the --schema option of the executable.