mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-11 22:31:53 +08:00
change throw_package_rate to capture_package_rate
This commit is contained in:
@@ -82,10 +82,10 @@ func outletSetConfig(resp http.ResponseWriter, req *http.Request) {
|
||||
mp.Err = SetConfig(ep.ConfigName, ep.Value)
|
||||
}
|
||||
|
||||
func GetTCPThrowPacketRate() float64 {
|
||||
return throwPacketRate.tcpTPR
|
||||
func GetTCPCapturePacketRate() float64 {
|
||||
return catpurePacketRate.tcpTPR
|
||||
}
|
||||
|
||||
func GetMysqlThrowPacketRate() float64 {
|
||||
return throwPacketRate.mysqlTPR
|
||||
func GetMysqlCapturePacketRate() float64 {
|
||||
return catpurePacketRate.mysqlTPR
|
||||
}
|
Reference in New Issue
Block a user