Skip to content

Commit

Permalink
Fix optional argument format in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Oct 16, 2019
1 parent 4392ebf commit b049b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/dgram.md
Expand Up @@ -123,7 +123,7 @@ if (cluster.isMaster) {
}
```

### socket.addSourceSpecificMembership(sourceAddress, groupAddress[, multicastInterface])
### socket.addSourceSpecificMembership(sourceAddress, groupAddress\[, multicastInterface\])
<!-- YAML
added: REPLACEME
-->
Expand Down Expand Up @@ -312,7 +312,7 @@ never have reason to call this.
If `multicastInterface` is not specified, the operating system will attempt to
drop membership on all valid interfaces.

### socket.dropSourceSpecificMembership(sourceAddress, groupAddress[, multicastInterface])
### socket.dropSourceSpecificMembership(sourceAddress, groupAddress\[, multicastInterface\])
<!-- YAML
added: REPLACEME
-->
Expand Down

0 comments on commit b049b3a

Please sign in to comment.