From 979af853b956fbbb1fd6a4bf5366ed31786dcd16 Mon Sep 17 00:00:00 2001 From: ben-toogood Date: Wed, 1 Jul 2020 10:55:46 +0100 Subject: [PATCH] proxy/mucp: use Micro-Namespace to filter networks (#1772) --- proxy/mucp/mucp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/mucp/mucp.go b/proxy/mucp/mucp.go index 544889f6..c569e4d9 100644 --- a/proxy/mucp/mucp.go +++ b/proxy/mucp/mucp.go @@ -128,7 +128,7 @@ func (p *Proxy) filterRoutes(ctx context.Context, routes []router.Route) []route } // only process routes with this network - if net, ok := md.Get("Micro-Network"); ok && len(net) > 0 { + if net, ok := md.Get("Micro-Namespace"); ok && len(net) > 0 { if route.Network != router.DefaultNetwork && route.Network != net { // skip routes that don't mwatch continue