Update dns_loopia.sh

Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
This commit is contained in:
Gabriel Thörnblad 2022-03-04 13:38:05 +01:00
parent 2a2d556551
commit 0ed4fc6a12

View File

@ -206,6 +206,7 @@ _loopia_add_record() {
<value><string>%s</string></value>
</param>
<param>
<value>
<struct>
<member>
<name>type</name>
@ -224,6 +225,7 @@ _loopia_add_record() {
<value><string>%s</string></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>' $LOOPIA_User $LOOPIA_Password "$domain" "$sub_domain" "$txtval")