X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/969a1fca85d025005604f4da892da678488c8835..dce21e00c38132b17ec973923f4f7d0cbf47049f:/hippotatd diff --git a/hippotatd b/hippotatd index 40f4c69..bbc8666 100755 --- a/hippotatd +++ b/hippotatd @@ -182,7 +182,7 @@ def process_request(request, desca): ci = ipaddr(ci_s) desca['ci'] = ci cl = clients[ci] - if pw != cl.cc.password: raise ValueError('bad password') + if pw != cl.cc.secret: raise ValueError('bad secret') desca['pwok']=True if tro != cl.cc.target_requests_outstanding: @@ -218,7 +218,7 @@ class NotStupidResource(twisted.web.resource.Resource): # why this is not the default is a mystery! def getChild(self, name, request): if name == b'': return self - else: return twisted.web.resource.Resource.getChild(name, request) + else: return twisted.web.resource.Resource.getChild(self, name, request) class IphttpResource(NotStupidResource): def render_POST(self, request):