aboutsummaryrefslogtreecommitdiff
path: root/plugin/federation/federation.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/federation/federation.go')
-rw-r--r--plugin/federation/federation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/federation/federation.go b/plugin/federation/federation.go
index e968aa668..779636b6a 100644
--- a/plugin/federation/federation.go
+++ b/plugin/federation/federation.go
@@ -130,7 +130,7 @@ func (f *Federation) isNameFederation(name, zone string) (string, string) {
fed := labels[ll-2]
if _, ok := f.f[fed]; ok {
- without := dnsutil.Join(labels[:ll-2]) + labels[ll-1] + "." + zone
+ without := dnsutil.Join(labels[:ll-2]...) + labels[ll-1] + "." + zone
return without, fed
}
return "", ""