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