jech / babeld

The Babel routing daemon
http://www.irif.fr/~jch/software/babel/
MIT License
385 stars 92 forks source link

Publish add filter function #85

Closed PolynomialDivision closed 2 years ago

PolynomialDivision commented 2 years ago

Make add_filter public. If you want to add a filter you need to call add_filter with the corresponding filter list as an argument. This can be:

This commit puts the add_filter and the filter lists into the header so filters can be added outside the configuration.c file.

jech commented 2 years ago

No idea, at first sight it looks good to me. I would suggest putting some print statements inside do_filter to check why your filter doesn't match.

jech commented 2 years ago

What about doing https://github.com/jech/babeld/pull/86 instead?

PolynomialDivision commented 2 years ago

What about doing #86 instead?

Awesome! :) I will update this PR.