From 0563363cf922141eccd4268f6eb03f885835f65e Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 21 May 2018 10:31:44 +0800 Subject: conn_info: add host and port --- src/protocol/connect_info.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/protocol/connect_info.h') diff --git a/src/protocol/connect_info.h b/src/protocol/connect_info.h index 0111a39..faf5862 100644 --- a/src/protocol/connect_info.h +++ b/src/protocol/connect_info.h @@ -10,6 +10,8 @@ enum protocol typedef struct { + char hostname[256]; + int port; enum protocol proto; struct { -- cgit v1.2.3