
This prevents other users on the same machine (e.g. a production server) from using dlv under the credentials of another user, which poses a security issue.
10 lines
102 B
Go
10 lines
102 B
Go
//+build !linux
|
|
|
|
package rpccommon
|
|
|
|
import "net"
|
|
|
|
func canAccept(_, _ net.Addr) bool {
|
|
return true
|
|
}
|