summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de>2014-07-07 15:02:43 +0200
committerPaul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de>2014-07-07 15:02:43 +0200
commit095171d70c4e3359c19f55a5d46e6f275e169e10 (patch)
treeac41a39a92910d5e3949ccd526c7acb490461c78
parent66b421af3e4c407806efd728d089a61fc3a77d96 (diff)
fix the a argument
-rwxr-xr-xsrc/fapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fapi b/src/fapi
index 0a5189a..765058b 100755
--- a/src/fapi
+++ b/src/fapi
@@ -429,7 +429,7 @@ class Fapi(FapiBase):
else:
fqdn_or_ip, ip, port = self.lookup(a.name)
if a.a:
- name = fqdn_or_ip
+ name = a.name
else:
name = fqdn_or_ip + '_' + port
if a.sub == 'get':