fix get node info,fix trojan builder

This commit is contained in:
yuzuki999
2022-06-06 17:07:21 +08:00
parent 21bd807e99
commit 5c7356a8da
4 changed files with 24 additions and 20 deletions

View File

@@ -133,7 +133,7 @@ func (c *Controller) nodeInfoMonitor() (err error) {
var nodeInfoChanged = false
// If nodeInfo changed
if newNodeInfo != nil {
if !reflect.DeepEqual(c.nodeInfo, newNodeInfo) {
if c.nodeInfo.SS == nil || !reflect.DeepEqual(c.nodeInfo.SS, newNodeInfo.SS) {
// Remove old tag
oldtag := c.Tag
err := c.removeOldTag(oldtag)