aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/include/diameter.hrl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-04-07 09:39:16 +0200
committerAnders Svensson <[email protected]>2014-04-07 10:19:38 +0200
commit558317c4a559afb26caba7f57a854d49020ea6cb (patch)
treeae386ec926ffe494010a3363e8cf43c6854925dc /lib/diameter/include/diameter.hrl
parente98183e86eac05d9d35dab4d34b5b6537ffcde74 (diff)
downloadotp-558317c4a559afb26caba7f57a854d49020ea6cb.tar.gz
otp-558317c4a559afb26caba7f57a854d49020ea6cb.tar.bz2
otp-558317c4a559afb26caba7f57a854d49020ea6cb.zip
Fix diameter.hrl comment typos
A Diameter Header Command Code is 24 bits, not 8, and an Application-ID is 32 bits, not 24. Thanks to Austin Aigbe for pointing it out.
Diffstat (limited to 'lib/diameter/include/diameter.hrl')
-rw-r--r--lib/diameter/include/diameter.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/include/diameter.hrl b/lib/diameter/include/diameter.hrl
index 79c4dce541..5a40e42300 100644
--- a/lib/diameter/include/diameter.hrl
+++ b/lib/diameter/include/diameter.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -58,8 +58,8 @@
-record(diameter_header,
{version, %% 8-bit unsigned
length, %% 24-bit unsigned
- cmd_code, %% 8-bit unsigned
- application_id, %% 24-bit unsigned
+ cmd_code, %% 24-bit unsigned
+ application_id, %% 32-bit unsigned
hop_by_hop_id, %% 32-bit unsigned
end_to_end_id, %% 32-bit unsigned
is_request, %% boolean() R flag