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
81c61790
Commit
81c61790
authored
Dec 13, 2006
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate trailing whitespace
Signed-off-by:
Stephen Hemminger
<
shemminger@osdl.org
>
parent
7b822512
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
genl/ctrl.c
genl/ctrl.c
+1
-1
ip/iprule.c
ip/iprule.c
+1
-1
ip/xfrm_monitor.c
ip/xfrm_monitor.c
+4
-4
netem/maketable.c
netem/maketable.c
+1
-1
tc/f_u32.c
tc/f_u32.c
+1
-1
No files found.
genl/ctrl.c
View file @
81c61790
...
...
@@ -162,7 +162,7 @@ static int print_ctrl(const struct sockaddr_nl *who, struct nlmsghdr *n,
int
len
=
n
->
nlmsg_len
;
struct
rtattr
*
attrs
;
FILE
*
fp
=
(
FILE
*
)
arg
;
__u32
ctrl_v
=
0x1
;
__u32
ctrl_v
=
0x1
;
if
(
n
->
nlmsg_type
!=
GENL_ID_CTRL
)
{
fprintf
(
stderr
,
"Not a controller message, nlmsg_len=%d "
...
...
ip/iprule.c
View file @
81c61790
...
...
@@ -138,7 +138,7 @@ int print_rule(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
if
(
tb
[
RTA_FWMASK
]
&&
(
mask
=
*
(
__u32
*
)
RTA_DATA
(
tb
[
RTA_FWMASK
]))
!=
0xFFFFFFFF
)
fprintf
(
fp
,
"fwmark 0x%x/0x%x "
,
mark
,
mask
);
else
else
fprintf
(
fp
,
"fwmark 0x%x "
,
mark
);
}
...
...
ip/xfrm_monitor.c
View file @
81c61790
...
...
@@ -176,12 +176,12 @@ static int xfrm_ae_print(const struct sockaddr_nl *who,
xfrm_ae_flags_print
(
id
->
flags
,
arg
);
fprintf
(
fp
,
"
\n\t
"
);
memset
(
abuf
,
'\0'
,
sizeof
(
abuf
));
fprintf
(
fp
,
"src %s "
,
rt_addr_n2a
(
id
->
sa_id
.
family
,
sizeof
(
id
->
saddr
),
&
id
->
saddr
,
fprintf
(
fp
,
"src %s "
,
rt_addr_n2a
(
id
->
sa_id
.
family
,
sizeof
(
id
->
saddr
),
&
id
->
saddr
,
abuf
,
sizeof
(
abuf
)));
memset
(
abuf
,
'\0'
,
sizeof
(
abuf
));
fprintf
(
fp
,
"dst %s "
,
rt_addr_n2a
(
id
->
sa_id
.
family
,
sizeof
(
id
->
sa_id
.
daddr
),
&
id
->
sa_id
.
daddr
,
fprintf
(
fp
,
"dst %s "
,
rt_addr_n2a
(
id
->
sa_id
.
family
,
sizeof
(
id
->
sa_id
.
daddr
),
&
id
->
sa_id
.
daddr
,
abuf
,
sizeof
(
abuf
)));
fprintf
(
fp
,
" reqid 0x%x"
,
id
->
reqid
);
fprintf
(
fp
,
" protocol %s "
,
strxf_proto
(
id
->
sa_id
.
proto
));
...
...
netem/maketable.c
View file @
81c61790
...
...
@@ -192,7 +192,7 @@ printtable(const short *table, int limit)
}
}
int
int
main
(
int
argc
,
char
**
argv
)
{
FILE
*
fp
;
...
...
tc/f_u32.c
View file @
81c61790
...
...
@@ -947,7 +947,7 @@ static int u32_parse_opt(struct filter_util *qu, char *handle, int argc, char **
}
/* We dont necessarily need class/flowids */
if
(
terminal_ok
)
if
(
terminal_ok
)
sel
.
sel
.
flags
|=
TC_U32_TERMINAL
;
if
(
order
)
{
...
...
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