Commit 5cde5855 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

typo in ddns static mapping, https://github.com/opnsense/core/issues/1023

(cherry picked from commit 5fa09cd4)
parent f33dfe15
......@@ -911,9 +911,9 @@ EOD;
if (isset($sm['ddnsupdate'])) {
if (($sm['ddnsdomain'] <> "") && ($sm['ddnsdomain'] != $dhcpifconf['ddnsdomain'])) {
$pdnscfg .= " ddns-domainname \"{$sm['ddnsdomain']}\";\n";
$smdnscfg .= " ddns-domainname \"{$sm['ddnsdomain']}\";\n";
}
$pdnscfg .= " ddns-update-style interim;\n";
$smdnscfg .= " ddns-update-style interim;\n";
}
if (!empty($sm['dnsserver']) && ($sm['dnsserver'][0]) && ($sm['dnsserver'][0] != $dhcpifconf['dnsserver'][0])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment