test: fix link-local dgram scope assertion · nodejs/node@839480a · GitHub
Skip to content

Commit 839480a

Browse files
panvaaduh95
authored andcommitted
test: fix link-local dgram scope assertion
AIX can report lo0 as the scope ID for a datagram sent to a local interface. Validate that the received address includes a non-empty scope ID and verify that the address can be used to reply, instead of requiring the scope ID to match the destination interface. Refs: #46792 Assisted-by: Codex Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #65629 Refs: #46792 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 40eac4a commit 839480a

1 file changed

Lines changed: 17 additions & 10 deletions

File tree

‎test/parallel/test-dgram-udp6-link-local-address.js‎

Lines changed: 17 additions & 10 deletions

0 commit comments

Comments
 (0)