From 13d19cea9d99f38364d0973509155258e3f81f5d Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Mon, 2 Feb 2026 11:01:49 +0100 Subject: [PATCH] Fix undefined rejectProxyHeaderFrom func Signed-off-by: Bryan Frimin --- pkg/probod/probod.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/probod/probod.go b/pkg/probod/probod.go index 7331c6fd4..66d58096c 100644 --- a/pkg/probod/probod.go +++ b/pkg/probod/probod.go @@ -728,7 +728,7 @@ func (impl *Implm) runTrustCenterServer( defer listener.Close() if len(impl.cfg.TrustCenter.ProxyProtocol.TrustedProxies) > 0 { - policy := rejectProxyHeaderFrom(impl.cfg.TrustCenter.ProxyProtocol.TrustedProxies...) + policy := proxyproto.TrustProxyHeaderFrom(impl.cfg.TrustCenter.ProxyProtocol.TrustedProxies...) listener = &proxyproto.Listener{ Listener: listener, @@ -810,7 +810,7 @@ func (impl *Implm) runTrustCenterServer( defer listener.Close() if len(impl.cfg.TrustCenter.ProxyProtocol.TrustedProxies) > 0 { - policy := rejectProxyHeaderFrom(impl.cfg.TrustCenter.ProxyProtocol.TrustedProxies...) + policy := proxyproto.TrustProxyHeaderFrom(impl.cfg.TrustCenter.ProxyProtocol.TrustedProxies...) listener = &proxyproto.Listener{ Listener: listener,