Add processor to look up service name by port (#7540)
This commit is contained in:
7
plugins/processors/port_name/services_path_notwindows.go
Normal file
7
plugins/processors/port_name/services_path_notwindows.go
Normal file
@@ -0,0 +1,7 @@
|
||||
// +build !windows
|
||||
|
||||
package portname
|
||||
|
||||
func servicesPath() string {
|
||||
return "/etc/services"
|
||||
}
|
||||
Reference in New Issue
Block a user