From f6fa20fd5551b0af76b6735a9af781462daf836d Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Mon, 27 Jun 2011 13:25:05 -0400 Subject: [PATCH] Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237. --- doc/api/dgram.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/dgram.markdown b/doc/api/dgram.markdown index 100d6cc7dd7..cc2aea20e24 100644 --- a/doc/api/dgram.markdown +++ b/doc/api/dgram.markdown @@ -186,7 +186,7 @@ packets will also be received on the local interface. Tells the kernel to join a multicast group with `IP_ADD_MEMBERSHIP` socket option. -If `multicastAddress` is not specified, the OS will try to add membership to all valid +If `multicastInterface` is not specified, the OS will try to add membership to all valid interfaces. ### dgram.dropMembership(multicastAddress, [multicastInterface]) @@ -196,5 +196,5 @@ Opposite of `addMembership` - tells the kernel to leave a multicast group with when the socket is closed or process terminates, so most apps will never need to call this. -If `multicastAddress` is not specified, the OS will try to drop membership to all valid +If `multicastInterface` is not specified, the OS will try to drop membership to all valid interfaces.