Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix optional argument format in docs
  • Loading branch information
addaleax committed Oct 16, 2019
commit b049b3a3845265f43743fcb654e2aaed0ff65ae1
4 changes: 2 additions & 2 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
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