From: Stefan Schantl Date: Tue, 5 Nov 2019 09:31:59 +0000 (+0100) Subject: ids.cgi: Generate and store the DNS server configuration. X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=a40ee6b9bf36410664536e1b591ae0982678fba7 ids.cgi: Generate and store the DNS server configuration. This will be done by the recently added generate_dns_servers_file() function from ids-functions.pl. Signed-off-by: Stefan Schantl Signed-off-by: Arne Fitzenreiter --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 74f5ca2238..da009f8918 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -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();