mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 02:52:07 +08:00
feat(tun): validate route-exclude-address as CIDR (#6440)
* feat(tun): validate route-exclude-address as CIDR * refactor(network): replace ipaddr.js helpers with cidr-block and validator * docs: Changelog
This commit is contained in:
@@ -602,6 +602,8 @@ export const translationKeys = [
|
||||
"settings.modals.tun.tooltips.dnsHijack",
|
||||
"settings.modals.tun.tooltips.autoRedirect",
|
||||
"settings.modals.tun.messages.applied",
|
||||
"settings.modals.tun.messages.invalidRouteExcludeAddress",
|
||||
"settings.modals.tun.messages.routeExcludeAddressHint",
|
||||
"settings.modals.dns.dialog.title",
|
||||
"settings.modals.dns.dialog.warning",
|
||||
"settings.modals.dns.sections.general",
|
||||
|
||||
@@ -1024,6 +1024,8 @@ export interface TranslationResources {
|
||||
};
|
||||
messages: {
|
||||
applied: string;
|
||||
invalidRouteExcludeAddress: string;
|
||||
routeExcludeAddressHint: string;
|
||||
};
|
||||
title: string;
|
||||
tooltips: {
|
||||
@@ -1318,10 +1320,10 @@ export interface TranslationResources {
|
||||
usedTotal: string;
|
||||
};
|
||||
placeholders: {
|
||||
resetInput: string;
|
||||
filter: string;
|
||||
matchCase: string;
|
||||
matchWholeWord: string;
|
||||
resetInput: string;
|
||||
useRegex: string;
|
||||
};
|
||||
statuses: {
|
||||
|
||||
Reference in New Issue
Block a user