mirror of
https://git.vectorsigma.ru/public/AdGuardHome.git
synced 2026-07-28 21:29:05 +00:00
client: temp logs for cidr parse
This commit is contained in:
@@ -548,6 +548,8 @@ const isIpMatchCidr = (parsedIp: any, parsedCidr: any) => {
|
||||
|
||||
return ipVersion === cidrIpVersion && parsedIp.match(parsedCidr);
|
||||
} catch (e) {
|
||||
// TODO(a.garipov): Remove or fix.
|
||||
console.error(e);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
@@ -608,6 +610,7 @@ export const findAddressType = (address: any) => {
|
||||
|
||||
return ADDRESS_TYPES.UNKNOWN;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
return ADDRESS_TYPES.UNKNOWN;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user