Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
0b690e4c
Commit
0b690e4c
authored
May 16, 2013
by
JINMEI Tatuya
Browse files
[master] removed accidentally committed code with the previous fix.
parent
7f8feaab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/xfrout/xfrout.py.in
View file @
0b690e4c
...
...
@@ -152,14 +152,6 @@ def get_soa_serial(soa_rdata):
'''
return Serial(int(soa_rdata.to_text().split()[2]))
def make_blocking(fd, on=True):
flags = fcntl.fcntl(fd, fcntl.F_GETFL)
if on: # make it blocking
flags &= ~os.O_NONBLOCK
else: # make it non blocking
flags |= os.O_NONBLOCK
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
class XfroutSession():
def __init__(self, sock_fd, request_data, server, tsig_key_ring, remote,
default_acl, zone_config, client_class=DataSourceClient):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment