From f54c1d944fa70e732c58935adfb8ba9535ff9231 Mon Sep 17 00:00:00 2001 From: Nico Jehle Date: Fri, 29 Apr 2022 10:38:37 +0000 Subject: [PATCH] dim-web: fix searching for ips --- dim-web/src/app/ip-pools/components/IpPoolsSearchView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dim-web/src/app/ip-pools/components/IpPoolsSearchView.vue b/dim-web/src/app/ip-pools/components/IpPoolsSearchView.vue index 4e8eec11..7c3078e1 100644 --- a/dim-web/src/app/ip-pools/components/IpPoolsSearchView.vue +++ b/dim-web/src/app/ip-pools/components/IpPoolsSearchView.vue @@ -145,7 +145,7 @@ if (foundIPv4 != null) { params.cidr = this.pattern; - this.jsonRpc('ipblock_get_attrs', [this.pattern], (response) => { + this.jsonRpc('ipblock_get_attrs', [this.pattern, {layer3domain: this.$config.DEFAULT_LAYER3DOMAIN}], (response) => { if (response.data.result) { this.pools_count = 1; this.max_page = Math.ceil(this.pools_count / this.page_size); @@ -161,7 +161,7 @@ } }, true); } else if (foundIPv6 != null) { - this.jsonRpc('ipblock_get_attrs', [this.pattern], (response) => { + this.jsonRpc('ipblock_get_attrs', [this.pattern, {layer3domain: this.$config.DEFAULT_LAYER3DOMAIN}], (response) => { if (response.data.result) { this.pools_count = 1; this.max_page = Math.ceil(this.pools_count / this.page_size);