]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi: Generate and store the DNS server configuration.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Nov 2019 09:31:59 +0000 (10:31 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 13 Nov 2019 19:13:25 +0000 (19:13 +0000)
This will be done by the recently added generate_dns_servers_file()
function from ids-functions.pl.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/ids.cgi

index 74f5ca2238796ea302211d77bc259399c0fb79ad..da009f89189499f47face02de862407435f12f35 100644 (file)
@@ -601,6 +601,9 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'save'}) {
        # Generate file to store the home net.
        &IDS::generate_home_net_file();
 
+       # Generate file to the store the DNS servers.
+       &IDS::generate_dns_servers_file();
+
        # Write the modify sid's file and pass the taken ruleaction.
        &IDS::write_modify_sids_file();