Fix lsof args for udp4 in unix

pull/1019/head
MashaSamoylova 4 years ago
parent afe0c04c5d
commit 7631bb0e5e

@ -63,7 +63,7 @@ func ConnectionsPidWithContext(ctx context.Context, kind string, pid int32) ([]C
case "udp":
args = append(args, "udp")
case "udp4":
args = append(args, "6udp")
args = append(args, "4udp")
case "udp6":
args = append(args, "6udp")
case "unix":

@ -63,7 +63,7 @@ func ConnectionsPidWithContext(ctx context.Context, kind string, pid int32) ([]C
case "udp":
args = append(args, "udp")
case "udp4":
args = append(args, "6udp")
args = append(args, "4udp")
case "udp6":
args = append(args, "6udp")
case "unix":

Loading…
Cancel
Save