Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
map-agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-agent
Commits
e803c382
Commit
e803c382
authored
4 years ago
by
Saurabh Verma
Browse files
Options
Downloads
Patches
Plain Diff
map-agent: fix for ap-metric cmdu.
parent
89df75f9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/agent_cmdu_generator.c
+7
-0
7 additions, 0 deletions
src/core/agent_cmdu_generator.c
with
7 additions
and
0 deletions
src/core/agent_cmdu_generator.c
+
7
−
0
View file @
e803c382
...
...
@@ -371,6 +371,13 @@ struct cmdu_cstruct *agent_gen_ap_metrics_response(struct agent *a,
}
}
/* if tlv_index is zero,
* means no valid data is found
* free the allocated memory for tlvs
*/
if
(
tlv_index
==
0
)
goto
error
;
return
cmdu
;
error:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment