doc: improve link-local text in dgram.md

Minor improvements.

PR-URL: https://github.com/nodejs/node/pull/34868
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Rich Trott authored and Richard Lau committed 2020-09-01 11:15:40 -04:00
1 parent 657292e2dd
commit 2fe95094fd
1 file changed
+3 -3
+3 -3
View File
@@ -96,11 +96,11 @@ The event handler function is passed two arguments: `msg` and `rinfo`.
* `port` {number} The sender port.
* `size` {number} The message size.
If the source address of the incoming packet is an IPv6 link local
address, the interface name is added to the `address`. For
If the source address of the incoming packet is an IPv6 link-local
address, the interface name is added to the `address`. For
example, a packet received on the `en0` interface might have the
address field set to `'fe80::2618:1234:ab11:3b9c%en0'`, where `'%en0'`
is the interface name as a zone id suffix.
is the interface name as a zone ID suffix.
### `socket.addMembership(multicastAddress[, multicastInterface])`
<!-- YAML