]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ovpnmain.cgi: Add newline after comment
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 Oct 2025 16:05:36 +0000 (17:05 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 Oct 2025 16:05:36 +0000 (17:05 +0100)
This caused that the first line of the client's custom DHCP/DNS
configuration was ignored.

Fixes: #13895 - OpenVPN GUI does not apply DNS resolver settings for individual roadwarrrior connections
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 6b5b713642191e08a89fa5b7223daee978dcf659..3b3776aaad0771160830799dcb5fc14e988cf8bd 100644 (file)
@@ -687,7 +687,7 @@ sub write_ccd_configs() {
                        ),
                );
 
-               print CONF "# DHCP Options";
+               print CONF "# DHCP Options\n";
 
                foreach my $option (keys %options) {
                        foreach (@options{$option}) {