Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
7712-kernel-udp-Fix-udp-multicast_if-option-for...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 7712-kernel-udp-Fix-udp-multicast_if-option-for-IPv6.patch of Package erlang
From 48ce00bcd0bdcade22e838d968b7ad626bdcaf48 Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Tue, 10 May 2022 16:40:17 +0200 Subject: [PATCH 02/11] [kernel|udp] Fix (udp) multicast_if option for IPv6 OTP-18091 --- lib/kernel/src/gen_udp.erl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/kernel/src/gen_udp.erl b/lib/kernel/src/gen_udp.erl index 5573deb798..e3c1996bbc 100644 --- a/lib/kernel/src/gen_udp.erl +++ b/lib/kernel/src/gen_udp.erl @@ -42,7 +42,7 @@ {high_msgq_watermark, pos_integer()} | {low_msgq_watermark, pos_integer()} | {mode, list | binary} | list | binary | - {multicast_if, inet:ip_address()} | + {multicast_if, multicast_if()} | {multicast_loop, boolean()} | {multicast_ttl, non_neg_integer()} | {priority, non_neg_integer()} | @@ -105,7 +105,12 @@ -type socket() :: inet:socket(). --export_type([option/0, open_option/0, option_name/0, socket/0]). +-type ip_multicast_if() :: inet:ip4_address(). +-type ip6_multicast_if() :: integer(). % interface index +-type multicast_if() :: ip_multicast_if() | ip6_multicast_if(). + +-export_type([option/0, open_option/0, option_name/0, socket/0, + multicast_if/0, ip_multicast_if/0, ip6_multicast_if/0]). %% -- open ------------------------------------------------------------------ -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor