Skip to content

Commit 6996e71

Browse files
author
Erlang/OTP
committed
Merge branch 'bmk/megaco/20250408/fix_mid_type_spec/ERIERL-1222/OTP-19585' into maint-27
* bmk/megaco/20250408/fix_mid_type_spec/ERIERL-1222/OTP-19585: [megaco] Fixed the mid() type spec
2 parents 35fc382 + 8e0908f commit 6996e71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/megaco/src/app/megaco.erl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ Interface module for the Megaco application
132132
-type void() :: term().
133133

134134
-doc "The Megaco Identifier.".
135-
-type mid() :: megaco_encoder:ip4Address() |
136-
megaco_encoder:ip6Address() |
137-
megaco_encoder:domainName() |
138-
megaco_encoder:deviceName() |
139-
megaco_encoder:mtpAddress().
135+
-type mid() :: {ip4Address, megaco_encoder:ip4Address()} |
136+
{ip6Address, megaco_encoder:ip6Address()} |
137+
{domainName, megaco_encoder:domainName()} |
138+
{deviceName, megaco_encoder:deviceName()} |
139+
{mtpAddress, megaco_encoder:mtpAddress()}.
140140
-type megaco_message() :: megaco_encoder:megaco_message().
141141
-type action_request() :: megaco_encoder:action_request().
142142
-type action_reply() :: megaco_encoder:action_reply().

0 commit comments

Comments
 (0)