projects
/
ddns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af97e36
)
Add "badagent" response handling for DDNSProtocolDynDNS2.
author
Stefan Schantl
<stefan.schantl@ipfire.org>
Thu, 28 Aug 2014 18:47:37 +0000
(20:47 +0200)
committer
Stefan Schantl
<stefan.schantl@ipfire.org>
Thu, 28 Aug 2014 18:47:37 +0000
(20:47 +0200)
src/ddns/providers.py
patch
|
blob
|
blame
|
history
diff --git
a/src/ddns/providers.py
b/src/ddns/providers.py
index
151d6a3
..
4826289
100644
(file)
--- a/
src/ddns/providers.py
+++ b/
src/ddns/providers.py
@@
-224,6
+224,8
@@
class DDNSProtocolDynDNS2(object):
raise DDNSInternalServerError
elif output == "dnserr":
raise DDNSInternalServerError(_("DNS error encountered."))
+ elif output == "badagent":
+ raise DDNSBlockedError
# If we got here, some other update error happened.
raise DDNSUpdateError(_("Server response: %s") % output)