Skip to content

Commit

Permalink
Some more minor bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilja Bobkevic committed Nov 26, 2015
1 parent 364d2f7 commit f13da4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unbound_ec2/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def operate(self, _id, event, qstate, qdata):
:return:
"""
if event in [MODULE_EVENT_NEW, MODULE_EVENT_PASS]:
qname = qstate.qinfo.qname_str
if qstate.qinfo.qtype in [RR_TYPE_A, RR_TYPE_ANY]:
qname = qstate.qinfo.qname_str
if qname.endswith(self.zone):
return self.handle_request(_id, event, qstate, qdata, getattr(self, 'forward_record'))
if qstate.qinfo.qtype in [RR_TYPE_PTR]:
Expand Down

0 comments on commit f13da4d

Please sign in to comment.