Skip to content

Commit b049b3a

Browse files
committed
Fix optional argument format in docs
1 parent 4392ebf commit b049b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/dgram.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ if (cluster.isMaster) {
123123
}
124124
```
125125

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

315-
### socket.dropSourceSpecificMembership(sourceAddress, groupAddress[, multicastInterface])
315+
### socket.dropSourceSpecificMembership(sourceAddress, groupAddress\[, multicastInterface\])
316316
<!-- YAML
317317
added: REPLACEME
318318
-->

0 commit comments

Comments
 (0)