BIND 10 trac1914, updated. 079a6684785bb75f1ae2c2c2ebfc1838831e783d [1924] Mark a place to add the error handling
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Jan 28 14:09:57 UTC 2013
The branch, trac1914 has been updated
via 079a6684785bb75f1ae2c2c2ebfc1838831e783d (commit)
from d94641e52198629abdd3ffe82751b0b6ce11ff28 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 079a6684785bb75f1ae2c2c2ebfc1838831e783d
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Mon Jan 28 15:08:30 2013 +0100
[1924] Mark a place to add the error handling
-----------------------------------------------------------------------
Summary of changes:
src/bin/msgq/msgq.py.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/msgq/msgq.py.in b/src/bin/msgq/msgq.py.in
index 68c18dc..ab40183 100755
--- a/src/bin/msgq/msgq.py.in
+++ b/src/bin/msgq/msgq.py.in
@@ -531,6 +531,7 @@ class MsgQ:
instance = routing["instance"]
to = routing["to"]
if group == None or instance == None:
+ # FIXME: Should we log them instead?
return # ignore invalid packets entirely
if to == "*":
@@ -539,12 +540,15 @@ class MsgQ:
if to in self.lnames:
sockets = [ self.lnames[to] ]
else:
- return # recipient doesn't exist
+ sockets = []
msg = self.preparemsg(routing, data)
if sock in sockets:
+ # Don't bounce to self
sockets.remove(sock)
+
+ # TODO: The place to create an undeliverable error, if requested
for socket in sockets:
self.send_prepared_msg(socket, msg)
More information about the bind10-changes
mailing list