summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Hunleth <fhunleth@troodon-software.com>2021-08-30 09:43:00 -0400
committerFrank Hunleth <fhunleth@troodon-software.com>2021-08-30 09:50:45 -0400
commita8e33e271b8a42c7d6cbc20e3a7ac6d91bd00a17 (patch)
treeac63357b4c0e34eff5c0428f7b0c695e33fd7924
parent175fb04cf23713ba5fc82a0873d9fe018c113bfe (diff)
downloaderlang-a8e33e271b8a42c7d6cbc20e3a7ac6d91bd00a17.tar.gz
Fix ip_mreq spec to match implementation
This changes the `address` key to `interface` which matches what is wanted for the `add_membership` option.
-rw-r--r--lib/kernel/src/socket.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/socket.erl b/lib/kernel/src/socket.erl
index a5c27339b8..ef2e868e2c 100644
--- a/lib/kernel/src/socket.erl
+++ b/lib/kernel/src/socket.erl
@@ -232,7 +232,7 @@
-type ip_mreq() ::
#{multiaddr := in_addr(),
- address := in_addr()}.
+ interface := in_addr()}.
-type ip_mreq_source() ::
#{multiaddr := in_addr(),