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
b89c359c
Commit
b89c359c
authored
Oct 18, 2015
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into net-next
parents
70e46634
8b21cef1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
4 deletions
+7
-4
bridge/fdb.c
bridge/fdb.c
+2
-0
bridge/mdb.c
bridge/mdb.c
+2
-0
ip/iproute.c
ip/iproute.c
+1
-1
ip/iprule.c
ip/iprule.c
+0
-1
man/man8/ip-rule.8
man/man8/ip-rule.8
+1
-1
misc/ss.c
misc/ss.c
+1
-1
No files found.
bridge/fdb.c
View file @
b89c359c
...
...
@@ -163,6 +163,8 @@ int print_fdb(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
fprintf
(
fp
,
"offload "
);
fprintf
(
fp
,
"%s
\n
"
,
state_n2a
(
r
->
ndm_state
));
fflush
(
fp
);
return
0
;
}
...
...
bridge/mdb.c
View file @
b89c359c
...
...
@@ -135,6 +135,8 @@ int print_mdb(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
}
}
fflush
(
fp
);
return
0
;
}
...
...
ip/iproute.c
View file @
b89c359c
...
...
@@ -1674,7 +1674,7 @@ static int iproute_get(int argc, char **argv)
req
.
r
.
rtm_flags
|=
RTM_F_LOOKUP_TABLE
;
if
(
rtnl_talk
(
&
rth
,
&
req
.
n
,
&
req
.
n
,
sizeof
(
req
))
<
0
)
exit
(
2
)
;
return
-
2
;
if
(
connected
&&
!
from_ok
)
{
struct
rtmsg
*
r
=
NLMSG_DATA
(
&
req
.
n
);
...
...
ip/iprule.c
View file @
b89c359c
...
...
@@ -36,7 +36,6 @@ static void usage(void)
fprintf
(
stderr
,
"SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]
\n
"
);
fprintf
(
stderr
,
" [ iif STRING ] [ oif STRING ] [ pref NUMBER ]
\n
"
);
fprintf
(
stderr
,
"ACTION := [ table TABLE_ID ]
\n
"
);
fprintf
(
stderr
,
" [ prohibit | reject | unreachable ]
\n
"
);
fprintf
(
stderr
,
" [ realms [SRCREALM/]DSTREALM ]
\n
"
);
fprintf
(
stderr
,
" [ goto NUMBER ]
\n
"
);
fprintf
(
stderr
,
" SUPPRESSOR
\n
"
);
...
...
man/man8/ip-rule.8
View file @
b89c359c
...
...
@@ -41,7 +41,7 @@ ip-rule \- routing policy database management
.IR TABLE_ID " ] [ "
.B nat
.IR ADDRESS " ] [ "
.B
R prohibit " | " reject " | " unreachable " ] [ "
realms
.B realms
.RI "[" SRCREALM "/]" DSTREALM " ]"
.I SUPPRESSOR
...
...
misc/ss.c
View file @
b89c359c
...
...
@@ -3770,8 +3770,8 @@ int main(int argc, char *argv[])
exit
(
1
);
break
;
case
'h'
:
case
'?'
:
help
();
case
'?'
:
default:
usage
();
}
...
...
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