From bbe74226d1b9d78a00cbc4c7df1a8570fd94e1d3 Mon Sep 17 00:00:00 2001 From: koaiwu <37399079+koaiwu@users.noreply.github.com> Date: Thu, 15 Mar 2018 16:46:47 +0800 Subject: [PATCH] fix loadConfigureFile --- cmd/gost/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gost/main.go b/cmd/gost/main.go index 6cc244d..b7d6af1 100644 --- a/cmd/gost/main.go +++ b/cmd/gost/main.go @@ -553,7 +553,7 @@ func loadConfigureFile(configureFile string) error { routes = append(routes, cfg.route) } for _, route := range cfg.Routes { - if len(cfg.route.ServeNodes) > 0 { + if len(route.ServeNodes) > 0 { routes = append(routes, route) } }