diff --git a/common/asn-input.js b/common/asn-input.js index e1c6b7b3..13824993 100644 --- a/common/asn-input.js +++ b/common/asn-input.js @@ -1,7 +1,7 @@ // The AS-number grammar shared by the ASN guards (server/guards.js) and the // tools that take a typed AS number (Whois, ASN Profile — via the -// frontend/utils/asn-input.js bridge): up to ten digits, AS1 … AS4294967295, -// `AS` prefix case-insensitive. +// frontend/utils/ip/asn-input.js bridge): up to ten digits, AS1 … +// AS4294967295, `AS` prefix case-insensitive. export const MAX_ASN = 4294967295; diff --git a/common/mac-input.js b/common/mac-input.js index 202bc211..e727d6e8 100644 --- a/common/mac-input.js +++ b/common/mac-input.js @@ -1,8 +1,8 @@ // MAC Lookup query parsing, shared by the /api/macchecker handler and the -// MacChecker form (via frontend/utils/mac-input.js). A query is a full -// 48-bit address or any leading part of one, down to a 24-bit vendor prefix, -// in the usual notations: colon / hyphen pairs, Cisco dotted quads, or bare -// hex. +// MacChecker form (via frontend/utils/features/mac-input.js). A query is a +// full 48-bit address or any leading part of one, down to a 24-bit vendor +// prefix, in the usual notations: colon / hyphen pairs, Cisco dotted quads, +// or bare hex. export const MAC_HEX_LENGTH = 12; export const MAC_PREFIX_MIN_HEX = 6; diff --git a/tests/asn-input.test.js b/tests/asn-input.test.js index 36a16064..699deaa1 100644 --- a/tests/asn-input.test.js +++ b/tests/asn-input.test.js @@ -1,6 +1,6 @@ // Tests for common/asn-input.js — the AS-number grammar shared by the ASN // guards, the Whois tool (prefix required) and ASN Profile (prefix -// optional) — and its frontend/utils/asn-input.js re-export. +// optional) — and its frontend/utils/ip/asn-input.js re-export. import assert from 'node:assert/strict'; import { describe, it } from 'node:test'; diff --git a/tests/mac-input.test.js b/tests/mac-input.test.js index 6d2d76bf..016b7da7 100644 --- a/tests/mac-input.test.js +++ b/tests/mac-input.test.js @@ -1,5 +1,6 @@ // Tests for common/mac-input.js — the MAC Lookup query parser shared by -// /api/macchecker and the MacChecker form (through frontend/utils/mac-input.js). +// /api/macchecker and the MacChecker form (through +// frontend/utils/features/mac-input.js). import assert from 'node:assert/strict'; import { describe, it } from 'node:test';