You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/07/31 20:43:56 UTC

[trafficserver] 08/11: Fixing copy paste error in SNI yaml parsing

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 00de445197ec5c4bdbc60b12ab571ffe8900e950
Author: Pushkar Pradhan <pp...@oath.com>
AuthorDate: Mon Jul 30 12:08:27 2018 -0700

    Fixing copy paste error in SNI yaml parsing
    
    (cherry picked from commit 78d7c3fb89552d8fd2b114f01d795019109549e5)
---
 iocore/net/YamlSNIConfig.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/YamlSNIConfig.cc b/iocore/net/YamlSNIConfig.cc
index 06f8c6f..da53fe2 100644
--- a/iocore/net/YamlSNIConfig.cc
+++ b/iocore/net/YamlSNIConfig.cc
@@ -79,7 +79,7 @@ template <> struct convert<YamlSNIConfig::Item> {
       return false; // servername must be present
     }
     if (node[TS_disable_H2]) {
-      item.fqdn = node[TS_disable_H2].as<bool>();
+      item.disable_h2 = node[TS_disable_H2].as<bool>();
     }
 
     // enum