Browse Source

Fix: compile error in 2769a6d

Rod Hynes 9 years ago
parent
commit
963f8be33a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      psiphon/server/tunnelServer.go

+ 2 - 2
psiphon/server/tunnelServer.go

@@ -483,8 +483,8 @@ func (sshServer *sshServer) getLoadStats() map[string]interface{} {
 
 		for _, region := range []string{"ALL", client.geoIPData.Country} {
 
-			if protocolStats[tunnelProtocol][region] == nil {
-				protocolStats[tunnelProtocol][region] = make(map[string]int64)
+			if protocolStats[client.tunnelProtocol][region] == nil {
+				protocolStats[client.tunnelProtocol][region] = make(map[string]int64)
 			}
 
 			// Note: can't sum trafficState.peakConcurrentPortForwardCount to get a global peak