[openbsd] set ConnectionsPid to return NotImplemented

netstat on OpenBSD doesn't provide PID information for open ports
pull/1757/head
tuftedocelot 3 months ago
parent 2a70d27e74
commit 88d6de082e

@ -278,6 +278,10 @@ func Connections(kind string) ([]ConnectionStat, error) {
return ConnectionsWithContext(context.Background(), kind)
}
func ConnectionsPid(kind string, pid int32) ([]ConnectionStat, error) {
return nil, common.ErrNotImplementedError
}
func ConnectionsWithContext(ctx context.Context, kind string) ([]ConnectionStat, error) {
var ret []ConnectionStat

Loading…
Cancel
Save