mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
hotfix: fix CVE (#669)
* hotfix: fix CVE * feat: prefer use cmd rather than magic dns to set dns on linux * feat: update go work sum * feat: update ut
This commit is contained in:
@@ -393,7 +393,7 @@ func udpClient(t *testing.T, ip string, port int) error {
|
||||
func udpServer(t *testing.T, port int) {
|
||||
// 创建监听
|
||||
udpConn, err := net.ListenUDP("udp4", &net.UDPAddr{
|
||||
IP: net.IPv4(0, 0, 0, 0),
|
||||
IP: net.ParseIP("127.0.0.1"),
|
||||
Port: port,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user