We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ea7d3 commit 474c7c6Copy full SHA for 474c7c6
src/mappings/farms.ts
@@ -92,7 +92,7 @@ function checkIPs(ctx: Ctx, ipv4_a: string, ipv4_b: string): boolean {
92
const ip_b = ipaddr.parse(ipv4_b);
93
94
// check if both IP addresses are the same
95
- if (ip_a[0] == ip_b) {
+ if (ip_a[0].toString() == ip_b.toString()) {
96
ctx.log.warn(`The IP addresses are the same. Public IP: ${ipv4_a}, Gateway: ${ipv4_b}`);
97
return false;
98
}
0 commit comments