Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
7d69fd97
Commit
7d69fd97
authored
Jan 18, 2005
by
14!tgraf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use parse_rtattr_nested
(Logical change 1.129)
parent
c3ab2d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tc/tc_util.c
tc/tc_util.c
+2
-2
No files found.
tc/tc_util.c
View file @
7d69fd97
...
@@ -429,9 +429,9 @@ void print_tm(FILE * f, const struct tcf_t *tm)
...
@@ -429,9 +429,9 @@ void print_tm(FILE * f, const struct tcf_t *tm)
void
print_tcstats2_attr
(
FILE
*
fp
,
struct
rtattr
*
rta
,
char
*
prefix
,
struct
rtattr
**
xstats
)
void
print_tcstats2_attr
(
FILE
*
fp
,
struct
rtattr
*
rta
,
char
*
prefix
,
struct
rtattr
**
xstats
)
{
{
SPRINT_BUF
(
b1
);
SPRINT_BUF
(
b1
);
struct
rtattr
*
tbs
[
TCA_STATS_MAX
+
1
]
=
{
0
}
;
struct
rtattr
*
tbs
[
TCA_STATS_MAX
+
1
];
parse_rtattr
(
tbs
,
TCA_STATS_MAX
,
RTA_DATA
(
rta
),
RTA_PAYLOAD
(
rta
)
);
parse_rtattr
_nested
(
tbs
,
TCA_STATS_MAX
,
rta
);
if
(
tbs
[
TCA_STATS_BASIC
])
{
if
(
tbs
[
TCA_STATS_BASIC
])
{
struct
gnet_stats_basic
bs
=
{
0
};
struct
gnet_stats_basic
bs
=
{
0
};
...
...
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