From af97cdd9d95a6cae6a52775ab8d5b3fc456a6817 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 22 Jun 2017 18:11:58 -0700 Subject: Fix copy/paste-o in doc example. --- tcpproxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcpproxy.go b/tcpproxy.go index 923c1db..0abc64a 100644 --- a/tcpproxy.go +++ b/tcpproxy.go @@ -12,8 +12,8 @@ // p.AddHTTPHostRoute(":80", "foo.com", tcpproxy.To("10.0.0.1:8081")) // p.AddHTTPHostRoute(":80", "bar.com", tcpproxy.To("10.0.0.2:8082")) // p.AddRoute(":80", tcpproxy.To("10.0.0.1:8081")) // fallback -// p.AddSNIHostRoute(":443", "foo.com", tcpproxy.To("10.0.0.1:4431")) -// p.AddSNIHostRoute(":443", "bar.com", tcpproxy.To("10.0.0.2:4432")) +// p.AddSNIRoute(":443", "foo.com", tcpproxy.To("10.0.0.1:4431")) +// p.AddSNIRoute(":443", "bar.com", tcpproxy.To("10.0.0.2:4432")) // p.AddRoute(":443", tcpproxy.To("10.0.0.1:4431")) // fallback // log.Fatal(p.Run()) // -- cgit v1.2.3