Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
dffe544f
Commit
dffe544f
authored
Aug 21, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show: Show netdevice indices with %d
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
3158389d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
net.c
net.c
+1
-1
sk-packet.c
sk-packet.c
+1
-1
No files found.
net.c
View file @
dffe544f
...
@@ -18,7 +18,7 @@ static int ns_fd = -1;
...
@@ -18,7 +18,7 @@ static int ns_fd = -1;
void
show_netdevices
(
int
fd
,
struct
cr_options
*
opt
)
void
show_netdevices
(
int
fd
,
struct
cr_options
*
opt
)
{
{
pb_show_plain
(
fd
,
PB_NETDEV
);
pb_show_plain
_pretty
(
fd
,
PB_NETDEV
,
"2:%d"
);
}
}
static
int
dump_one_netdev
(
int
type
,
struct
ifinfomsg
*
ifi
,
static
int
dump_one_netdev
(
int
type
,
struct
ifinfomsg
*
ifi
,
...
...
sk-packet.c
View file @
dffe544f
...
@@ -43,7 +43,7 @@ struct packet_sock_desc {
...
@@ -43,7 +43,7 @@ struct packet_sock_desc {
void
show_packetsk
(
int
fd
,
struct
cr_options
*
o
)
void
show_packetsk
(
int
fd
,
struct
cr_options
*
o
)
{
{
pb_show_plain
(
fd
,
PB_PACKETSK
);
pb_show_plain
_pretty
(
fd
,
PB_PACKETSK
,
"5:%d"
);
}
}
static
int
dump_mreqs
(
PacketSockEntry
*
psk
,
struct
packet_sock_desc
*
sd
)
static
int
dump_mreqs
(
PacketSockEntry
*
psk
,
struct
packet_sock_desc
*
sd
)
...
...
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