kohler / click

The Click modular router: fast modular packet processing and analysis
Other
748 stars 321 forks source link

include in config files #315

Closed tbarbette closed 7 years ago

tbarbette commented 7 years ago

Hi all,

Is there a way to include a file in a configuration? I may have missed it but I don't think so.

If not, what implementation would you advise? An include element much like define?

include(common.conf)

Tom

bcronje commented 7 years ago

You can use require(library common.conf); which probably does what you want to achieve. See the library bit at http://read.cs.ucla.edu/click/docs/language#requirements

tbarbette commented 7 years ago

Nice ! Missed it...