Skip to content

Commit

Permalink
doc: improve link-local text in dgram.md
Browse files Browse the repository at this point in the history
Minor improvements.

PR-URL: #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>
  • Loading branch information
Trott authored and richardlau committed Sep 1, 2020
1 parent 657292e commit 2fe9509
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fe9509

Please sign in to comment.