klugerama / webmin-dnsmasq

A Webmin module for managing dnsmasq
6 stars 1 forks source link

Can't edit config file other than /etc/dnsmasq.conf #54

Open Pedro-MC opened 10 months ago

Pedro-MC commented 10 months ago

In the "Edit config files" page (https://localhost:10000/dnsmasq/manual_edit.cgi?type=config&file=%2Fetc%2Fhosts&xnavigation=1), when selecting a config file other than /etc/dnsmasq.conf, the script loads the config file /etc/dnsmasq.conf and not the selected config file. Also the drop down selector list shows /etc/dnsmasq.conf and not the selected config file.

Versions: webmin-dnsmasq v0.7-beta webmin v2.013 perl v5.36.0