Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
83
Issues
83
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
8fe5ae88
Commit
8fe5ae88
authored
Feb 09, 2016
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/snmpd: change reflect change in pstats from portX to wrportX+1
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
bf543eb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrsPstatsHCTable.c
userspace/snmpd/wrsPstatsHCTable.c
+1
-1
No files found.
userspace/snmpd/wrsPstatsHCTable.c
View file @
8fe5ae88
...
...
@@ -109,7 +109,7 @@ wrsPstatsHCTable_data_fill(unsigned int *n_rows)
for
(
wrport
=
0
;
wrport
<
WRS_N_PORTS
;
wrport
++
)
{
snprintf
(
pstats_array
[
wrport
].
port_name
,
10
,
"wr%d"
,
wrport
);
sprintf
(
fname
,
PSTATS_SYSCTL_PATH
"
port%i"
,
wrport
);
sprintf
(
fname
,
PSTATS_SYSCTL_PATH
"
wrport%i"
,
wrport
+
1
);
f
=
fopen
(
fname
,
"r"
);
if
(
!
f
)
{
snmp_log
(
LOG_ERR
,
...
...
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