Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
OpenXG
OpenXG-SMF
Commits
08e90a67
Commit
08e90a67
authored
Oct 17, 2019
by
yunshou-yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updata src/oai_smf/nas_sm_encode_to_json.c warning
parent
4e59db76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/oai_smf/nas_sm_encode_to_json.c
src/oai_smf/nas_sm_encode_to_json.c
+1
-3
No files found.
src/oai_smf/nas_sm_encode_to_json.c
View file @
08e90a67
...
...
@@ -432,7 +432,7 @@ int sm_encode_establishment_accept(void)
size
+=
MESSAGE_TYPE_MAXIMUM_LENGTH
;
//memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm));
printf
(
"nas_msg.security_protected.plain.sm = %d
\n
"
,
sizeof
(
nas_msg
.
security_protected
.
plain
.
sm
));
nas_msg
.
plain
.
sm
=
*
sm_msg
;
//complete sm msg content
...
...
@@ -1422,7 +1422,6 @@ int sm_encode_modification_request(void)
size
+=
MESSAGE_TYPE_MAXIMUM_LENGTH
;
//memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm));
printf
(
"nas_msg.security_protected.plain.sm = %d
\n
"
,
sizeof
(
nas_msg
.
security_protected
.
plain
.
sm
));
nas_msg
.
plain
.
sm
=
*
sm_msg
;
//complete sm msg content
...
...
@@ -1927,7 +1926,6 @@ int sm_encode_modification_command(void)
size
+=
MESSAGE_TYPE_MAXIMUM_LENGTH
;
//memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm));
printf
(
"nas_msg.security_protected.plain.sm = %d
\n
"
,
sizeof
(
nas_msg
.
security_protected
.
plain
.
sm
));
nas_msg
.
plain
.
sm
=
*
sm_msg
;
//complete sm msg content
...
...
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