bitwiseworks / InJoy

Issue tracker for InJoy
0 stars 0 forks source link

#include handling in firerule #65

Closed SilvanScherrer closed 4 years ago

SilvanScherrer commented 4 years ago

When you have a firerule.cfg with #include this all get read ok and works. But when you change something in the rules and it gets written to disk, the firewall plugin will not start anymore. The reason is that when the file gets written, it writes all rules including the included ones to firerule.cfg and then when reloaded it also wants to include the ones from #include. which of course gives duplicates.