Update net_linux.go

pull/1345/head
Ties de Wit 3 years ago committed by GitHub
parent 705a63f1b2
commit e4409ef6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -161,7 +161,7 @@ var netProtocols = []string{
// If protocols is empty then all protocols are returned, otherwise // If protocols is empty then all protocols are returned, otherwise
// just the protocols in the list are returned. // just the protocols in the list are returned.
// Available protocols: // Available protocols:
// ip,icmp,icmpmsg,tcp,udp,udplite // [ip,icmp,icmpmsg,tcp,udp,udplite]
func ProtoCounters(protocols []string) ([]ProtoCountersStat, error) { func ProtoCounters(protocols []string) ([]ProtoCountersStat, error) {
return ProtoCountersWithContext(context.Background(), protocols) return ProtoCountersWithContext(context.Background(), protocols)
} }

Loading…
Cancel
Save