From 9ec1a6f368aef320070963f71b26610a5ba378b1 Mon Sep 17 00:00:00 2001 From: knight <1004815462@qq.com> Date: Sat, 19 Jan 2019 19:14:18 +0800 Subject: [PATCH] fix a comment error Signed-off-by: knightXun --- .../filters/listener/proxy_protocol/proxy_protocol.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/extensions/filters/listener/proxy_protocol/proxy_protocol.cc b/source/extensions/filters/listener/proxy_protocol/proxy_protocol.cc index 45833683b4d47..9232b958c07f4 100644 --- a/source/extensions/filters/listener/proxy_protocol/proxy_protocol.cc +++ b/source/extensions/filters/listener/proxy_protocol/proxy_protocol.cc @@ -131,7 +131,7 @@ void Filter::parseV2Header(char* buf) { // Only do connections on behalf of another user, not internally-driven health-checks. If // its not on behalf of someone, or its not AF_INET{6} / STREAM/DGRAM, ignore and - /// use the real-remote info + // use the real-remote info if ((ver_cmd & 0xf) == PROXY_PROTO_V2_ONBEHALF_OF) { uint8_t proto_family = buf[PROXY_PROTO_V2_SIGNATURE_LEN + 1]; if (((proto_family & 0x0f) == PROXY_PROTO_V2_TRANSPORT_STREAM) ||