From 08d3cbdd2c2b0f0d5e5a85eb7f0bc939929f8dcc Mon Sep 17 00:00:00 2001 From: koaiwu <37399079+koaiwu@users.noreply.github.com> Date: Sun, 18 Mar 2018 19:41:08 +0800 Subject: [PATCH] fix loadConfigureFile (#239) --- 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 25de116..d18cb82 100644 --- a/cmd/gost/main.go +++ b/cmd/gost/main.go @@ -541,7 +541,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) } }