summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/bcfg2_local.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/bcfg2_local.py b/tools/bcfg2_local.py
index 3c90a3ea5..78a46ba5c 100755
--- a/tools/bcfg2_local.py
+++ b/tools/bcfg2_local.py
@@ -47,7 +47,10 @@ class LocalProxy(object):
func = getattr(self.core, attr)
if func.exposed:
def inner(*args, **kwargs):
- args = ((self.ipaddr, self.hostname), ) + args
+ # the port portion of the addresspair tuple isn't
+ # actually used, so it's safe to hardcode 6789
+ # here.
+ args = ((self.ipaddr, 6789), ) + args
return func(*args, **kwargs)
return inner
raise AttributeError(attr)