diff --git a/src/tools/ipv6-ula-generator/index.ts b/src/tools/ipv6-ula-generator/index.ts index 0ce2a57c..b7040eac 100644 --- a/src/tools/ipv6-ula-generator/index.ts +++ b/src/tools/ipv6-ula-generator/index.ts @@ -4,12 +4,9 @@ import { defineTool } from '../tool'; export const tool = defineTool({ name: 'IPv6 ULA generator', path: '/ipv6-ula-generator', - description: `When you set up IPv6, you may need to set up your own local, non-routable IP addresses on your network - -similar to the older RFC1918 blocks. RFC4193 addresses (no pun intended) this issue. - -Your IP address block assigned should be generated randomly from the fc00::/7 block. As IETF hasn't formalized fc00::/8, -addresses should be assigned out of fd00::/8.`, - keywords: ['ipv6', 'ula', 'generator', 'rfc1918', 'rfc4193', 'network', 'private'], + description: + 'This generator generates your own local, non-routable IP addresses on your network according to RFC4193.', + keywords: ['ipv6', 'ula', 'generator', 'rfc4193', 'network', 'private'], component: () => import('./ipv6-ula-generator.vue'), icon: BuildingFactory, createdAt: new Date('2023-04-09'), diff --git a/src/utils/macAddress.ts b/src/utils/macAddress.ts index ac5716c2..5451a36c 100644 --- a/src/utils/macAddress.ts +++ b/src/utils/macAddress.ts @@ -1,12 +1,7 @@ import { useValidation, type ValidationAttrs } from '@/composable/validation'; import type { Ref } from 'vue'; -function macAddressValidation(value: Ref): { - message: string; - status: 'error' | undefined; - isValid: boolean; - attrs: ValidationAttrs; -} { +function macAddressValidation(value: Ref) { return useValidation({ source: value, rules: [