summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-04-30 12:41:34 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-06-12 06:57:14 +0200
commite2eb3f7e9eab0ce0f01f8b0bc563bd97aa157d8f (patch)
treef813036ce2261a98929e501f2bec134cc6d8f2aa /python
parent7f4b7fed1e7619b5cc6af38c8d40dddf840e5737 (diff)
downloadsamba-e2eb3f7e9eab0ce0f01f8b0bc563bd97aa157d8f.tar.gz
samba-e2eb3f7e9eab0ce0f01f8b0bc563bd97aa157d8f.tar.bz2
samba-e2eb3f7e9eab0ce0f01f8b0bc563bd97aa157d8f.zip
KCC: Add fake transport EDGE_TYPE_ALL at most once
It was being added in a loop which only ever looped once (because we only do one transport, IP), so this makes no actual difference but it is the correct thing. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/kcc/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/samba/kcc/__init__.py b/python/samba/kcc/__init__.py
index 61e16c9bd81..0ac357d2d7d 100644
--- a/python/samba/kcc/__init__.py
+++ b/python/samba/kcc/__init__.py
@@ -1644,9 +1644,9 @@ class KCC(object):
vertex.accept_red_red.append(t_guid)
vertex.accept_black.append(t_guid)
- # Add additional transport to allow another run of Dijkstra
- vertex.accept_red_red.append("EDGE_TYPE_ALL")
- vertex.accept_black.append("EDGE_TYPE_ALL")
+ # Add additional transport to allow another run of Dijkstra
+ vertex.accept_red_red.append("EDGE_TYPE_ALL")
+ vertex.accept_black.append("EDGE_TYPE_ALL")
return found_failed