Update dns_loopia.sh
Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
This commit is contained in:
parent
2a2d556551
commit
0ed4fc6a12
@ -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…
Reference in New Issue
Block a user