Browse Source

Update dns_loopia.sh

Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
pull/3964/head
Gabriel Thörnblad 3 years ago
parent
commit
0ed4fc6a12
  1. 2
      dnsapi/dns_loopia.sh

2
dnsapi/dns_loopia.sh

@ -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")

Loading…
Cancel
Save