X-Git-Url: https://git.toastfreeware.priv.at/toast/tdyndns.git/blobdiff_plain/5f31110075ff9ce56ba8969c040b7037d5db2770..666ba1581308d62aebbaf7142595ee86cc3f9168:/bin/tdyndns_update diff --git a/bin/tdyndns_update b/bin/tdyndns_update index 0667c87..b955066 100755 --- a/bin/tdyndns_update +++ b/bin/tdyndns_update @@ -71,7 +71,7 @@ def nsupdate_delete(fqdn, ip_family): def blockip_whitelist_add(ip): """ :param ip: ipv4 address - :raises a BlockipError in case of errors.""" + :raises a CalledProcessError in case of errors.""" if ipfamily_by_ip(ip) == 'A': command = ['iptables', '-I', 'blockip', '-s', str(ip), '-j', 'ACCEPT'] check_call(command) @@ -80,7 +80,7 @@ def blockip_whitelist_add(ip): def blockip_whitelist_delete(ip): """ :param ip: ipv4 address - :raises a BlockipError in case of errors.""" + :raises a CalledProcessError in case of errors.""" if ipfamily_by_ip(ip) == 'A': command = ['iptables', '-D', 'blockip', '-s', str(ip), '-j', 'ACCEPT'] check_call(command)