From 967b5fbb0fb0c19746f8bb10115effcd8363ef42 Mon Sep 17 00:00:00 2001 From: Bob Van Zant Date: Wed, 27 Sep 2017 10:05:33 -0700 Subject: [PATCH] Need to compare servername and proxy protocol --- core/pkg/ingress/types_equals.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/pkg/ingress/types_equals.go b/core/pkg/ingress/types_equals.go index cfe2fa065..ce2799419 100644 --- a/core/pkg/ingress/types_equals.go +++ b/core/pkg/ingress/types_equals.go @@ -505,6 +505,12 @@ func (l4b1 *L4Backend) Equal(l4b2 *L4Backend) bool { if l4b1.Protocol != l4b2.Protocol { return false } + if l4b1.ServerName != l4b2.ServerName { + return false + } + if l4b1.UseProxyProtocol != l4b2.UseProxyProtocol { + return false + } return true }