X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=client.cpp;h=5871da1ed70fb111a85db1bcf278735f64a6b62e;hp=bb2d26cdcd4abec4516d23ae92142636a33ac341;hb=889d72b31a646feeba52acd3fd2616210b550e71;hpb=6bf4dfc2c08d51de1d08e80078dd06f20ca0149c diff --git a/client.cpp b/client.cpp index bb2d26c..5871da1 100644 --- a/client.cpp +++ b/client.cpp @@ -67,6 +67,7 @@ Client::Client(const ClientProto &serialized, Stream *stream) if (fwmark != 0) { log_perror("setsockopt(SO_MARK)"); } + fwmark = 0; } } @@ -92,6 +93,8 @@ ClientStats Client::get_stats() const { ClientStats stats; stats.stream_id = stream_id; + stats.sock = sock; + stats.fwmark = fwmark; stats.remote_addr = remote_addr; stats.connect_time = connect_time; stats.bytes_sent = bytes_sent;