Skip to content

Commit

Permalink
merge PullReq#269 "DNS listen using SO_REUSEADDR", bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
iBaa committed Aug 5, 2014
1 parent f60dce0 commit 5cfa56c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DNSServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ def Run(cmdPipe, param):

try:
DNS = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
DNS.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
DNS.settimeout(5.0)
DNS.bind((cfg_IP_self, int(cfg_Port_DNSServer)))
except Exception, e:
Expand Down
2 changes: 1 addition & 1 deletion Version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@


# Version string - globally available
__VERSION__ = '0.4'
__VERSION__ = '0.4+'

0 comments on commit 5cfa56c

Please sign in to comment.