Skip to content

Commit

Permalink
Merge pull request #239 from zeromind/dim_web_search_ip
Browse files Browse the repository at this point in the history
dim-web: fix searching for ips
  • Loading branch information
Srudush authored May 2, 2022
2 parents 42355e8 + f54c1d9 commit 621d20e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dim-web/src/app/ip-pools/components/IpPoolsSearchView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 621d20e

Please sign in to comment.