external-tests: switch to demo server
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
5a427c7024
commit
1f349aa101
|
@ -30,7 +30,7 @@ func main() {
|
|||
StaticKeypair: noise.DHKey{Private: ourPrivate, Public: ourPublic},
|
||||
PeerStatic: theirPublic,
|
||||
})
|
||||
conn, err := net.Dial("udp", "test.wireguard.io:51820")
|
||||
conn, err := net.Dial("udp", "demo.wireguard.io:12913")
|
||||
if err != nil {
|
||||
log.Fatalf("error dialing udp socket: %s", err)
|
||||
}
|
||||
|
|
|
@ -50,8 +50,8 @@ payload = do
|
|||
|
||||
main :: IO ()
|
||||
main = do
|
||||
let ip = "test.wireguard.io"
|
||||
let port = "51820"
|
||||
let ip = "demo.wireguard.io"
|
||||
let port = "12913"
|
||||
let mykey = "WAmgVYXkbT2bCtdcDwolI88/iVi/aV3/PHcUBTQSYmo="
|
||||
let serverkey = "qRCwZSKInrMAq5sepfCdaCsRJaoLe5jhtzfiw7CjbwM="
|
||||
let psk = "FpCyhws9cxwWoV4xELtfJvjJN+zQVRPISllRWgeopVE="
|
||||
|
|
|
@ -19,7 +19,7 @@ fn memcpy(out: &mut [u8], data: &[u8]) {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let send_addr = "test.wireguard.io:51820".to_socket_addrs().unwrap().next().unwrap();
|
||||
let send_addr = "demo.wireguard.io:12913".to_socket_addrs().unwrap().next().unwrap();
|
||||
let listen_addr = "0.0.0.0:0".to_socket_addrs().unwrap().next().unwrap();
|
||||
let socket = UdpSocket::bind(listen_addr).unwrap();
|
||||
let mut empty_payload = [0; 0];
|
||||
|
|
Loading…
Reference in a new issue