✏️ fix typo
This commit is contained in:
		
							parent
							
								
									2dfa6b2b86
								
							
						
					
					
						commit
						c4d114ef91
					
				@ -128,8 +128,8 @@ func GetState(agentConfig *model.AgentConfig, skipConnectionCount bool, skipProc
 | 
				
			|||||||
				udpStat6, err_udp := goss.ConnectionsWithProtocol(goss.AF_INET6, syscall.IPPROTO_UDP)
 | 
									udpStat6, err_udp := goss.ConnectionsWithProtocol(goss.AF_INET6, syscall.IPPROTO_UDP)
 | 
				
			||||||
				if err_tcp == nil && err_udp == nil {
 | 
									if err_tcp == nil && err_udp == nil {
 | 
				
			||||||
					ss_err = false
 | 
										ss_err = false
 | 
				
			||||||
					tcpConnCount = uint64(len(tcpStat6))
 | 
										tcpConnCount += uint64(len(tcpStat6))
 | 
				
			||||||
					udpConnCount = uint64(len(udpStat6))
 | 
										udpConnCount += uint64(len(udpStat6))
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user