netblue30 / fdns

Firejail DNS-over-HTTPS Proxy Server
GNU General Public License v3.0
115 stars 29 forks source link

fix server load_file() overwriting global list #72

Closed Zorvalt closed 2 years ago

Zorvalt commented 2 years ago

The load_file() function overrides the global slist variable and thus looses previously loaded servers. This both creates a memory leak and prevents the use of /etc/fdns/servers.local config.

netblue30 commented 2 years ago

Merged, thank you for the fix!