Skip to content

Commit 8e0908f

Browse files
committed
[megaco] Fixed the mid() type spec
OTP-19585 (ERIERL-1222)
1 parent 7b8942e commit 8e0908f

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)