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
86
Issues
86
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
b46f079b
Commit
b46f079b
authored
Jan 13, 2016
by
Grzegorz Daniluk
Committed by
Adam Wujek
Feb 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snmpd: rtu status should be based on RxDropRTUFull counter
parent
f7aea4ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrsNetworkingStatusGroup.c
userspace/snmpd/wrsNetworkingStatusGroup.c
+1
-1
No files found.
userspace/snmpd/wrsNetworkingStatusGroup.c
View file @
b46f079b
...
@@ -144,7 +144,7 @@ static int get_rtu_status(struct ns_pstats *old,
...
@@ -144,7 +144,7 @@ static int get_rtu_status(struct ns_pstats *old,
/* values from 2.2.4 "RTU is full and cannot accept more requests" in
/* values from 2.2.4 "RTU is full and cannot accept more requests" in
* wrs_failures document shouldn't increase */
* wrs_failures document shouldn't increase */
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
if
((
new
[
i
].
TXUnderrun
-
old
[
i
].
TXUnderrun
)
>
0
)
{
if
((
new
[
i
].
RXDropRTUFull
-
old
[
i
].
RXDropRTUFull
)
>
0
)
{
/* if error, no need to check more, but do it just for
/* if error, no need to check more, but do it just for
* logs */
* logs */
ret
=
1
;
ret
=
1
;
...
...
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