Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: adisos <adisos@il.ibm.com>
adisos committed Oct 2, 2024
1 parent 8621450 commit 4bf08e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/netset/transportset.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ func AllICMPTransport() *TransportSet {
return AllOrNothingTransport(false, true)
}

// NewTCPSet returns a set of connections containing the TCP protocol with all its possible ports
// AllTCPSetTransport returns a set of connections containing the TCP protocol with all its possible ports
func AllTCPSetTransport() *TransportSet {
return AllTCPorUDPTransport(netp.ProtocolStringTCP)
}

// NewUDPSet returns a set of connections containing the UDP protocol with all its possible ports
// AllUDPSetTransport returns a set of connections containing the UDP protocol with all its possible ports
func AllUDPSetTransport() *TransportSet {
return AllTCPorUDPTransport(netp.ProtocolStringUDP)
}
Expand Down

0 comments on commit 4bf08e6

Please sign in to comment.