[CRIU] [PATCH 3/3] Signed-off-by: Stanislav Kinsbursky <skinsbursky@openvz.org>

Kinsbursky Stanislav skinsbursky at openvz.org
Thu Jul 26 05:51:26 EDT 2012



---
 sk-inet.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/sk-inet.c b/sk-inet.c
index fbf85f1..d46b0d6 100644
--- a/sk-inet.c
+++ b/sk-inet.c
@@ -18,6 +18,9 @@
 #include "sockets.h"
 #include "sk-inet.h"
 
+#include "protobuf.h"
+#include "protobuf/sk-inet.pb-c.h"
+
 static void show_one_inet(const char *act, const struct inet_sk_desc *sk)
 {
 	char src_addr[INET_ADDR_LEN] = "<unknown>";
@@ -470,7 +473,7 @@ int inet_connect(int sk, struct inet_sk_info *ii)
 	return 0;
 }
 
-void show_inetsk(int fd, struct cr_options *o)
+void show_inetsk_pretty(int fd, struct cr_options *o)
 {
 	InetSkEntry *ie;
 	int ret = 0;
@@ -512,3 +515,7 @@ out:
 	pr_img_tail(CR_FD_INETSK);
 }
 
+void show_inetsk(int fd, struct cr_options *o)
+{
+	pb_show_plain(fd, inet_sk_entry);
+}



More information about the CRIU mailing list