diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-09-03 08:30:30 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-09-04 15:27:10 -0400 |
commit | 43571190e263ed9bfb372806baf1037b711914d2 (patch) | |
tree | 32801df380d2886eaee5df6e44eb5ac97bbd6f58 /tools/bcfg2_local.py | |
parent | 110861ec9d8cd70dc75ca8ca33b66db8060e761c (diff) | |
download | bcfg2-43571190e263ed9bfb372806baf1037b711914d2.tar.gz bcfg2-43571190e263ed9bfb372806baf1037b711914d2.tar.bz2 bcfg2-43571190e263ed9bfb372806baf1037b711914d2.zip |
bcfg2_local.py: Fixed addresspair port
Diffstat (limited to 'tools/bcfg2_local.py')
-rwxr-xr-x | tools/bcfg2_local.py | 5 |
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) |