Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-Spgwu-Tiny-Simple
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CommunityXG
OpenXG-Spgwu-Tiny-Simple
Commits
ac9ae9ac
Commit
ac9ae9ac
authored
Mar 26, 2019
by
gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ser/desr GTPV2C remove stdout trace
parent
9aa6f728
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/gtpv2c/3gpp_29.274.hpp
src/gtpv2c/3gpp_29.274.hpp
+3
-3
No files found.
src/gtpv2c/3gpp_29.274.hpp
View file @
ac9ae9ac
...
...
@@ -469,18 +469,18 @@ public:
if
(
has_teid
())
check_msg_length
-=
4
;
gtpv2c_ie
*
ie
=
nullptr
;
uint16_t
ies_length
=
0
;
std
::
cout
<<
std
::
dec
<<
" check_msg_length = "
<<
check_msg_length
<<
std
::
endl
;
//
std::cout << std::dec<< " check_msg_length = " << check_msg_length << std::endl;
do
{
ie
=
gtpv2c_ie
::
new_gtpv2c_ie_from_stream
(
is
);
if
(
ie
)
{
ies_length
+=
(
gtpv2c_tlv
::
tlv_ie_length
+
ie
->
tlv
.
get_length
());
ies
.
push_back
(
std
::
shared_ptr
<
gtpv2c_ie
>
(
ie
));
std
::
cout
<<
std
::
dec
<<
" ies length = "
<<
ies_length
<<
" IE length = "
<<
ie
->
tlv
.
get_length
()
<<
std
::
endl
;
//
std::cout << std::dec << " ies length = " << ies_length << " IE length = " << ie->tlv.get_length() << std::endl;
}
}
while
((
ie
)
&&
(
ies_length
<
check_msg_length
));
if
(
ies_length
!=
check_msg_length
)
{
std
::
cout
<<
" check_msg_length = "
<<
check_msg_length
<<
" ies_length = "
<<
ies_length
<<
std
::
endl
;
//
std::cout << " check_msg_length = " << check_msg_length << " ies_length = " << ies_length << std::endl;
throw
gtpc_msg_bad_length_exception
(
get_message_type
(),
get_message_length
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment