From dba7c6f50acab075b239dc1f9474494d5e249951 Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Mon, 14 Aug 2023 21:52:04 +0200 Subject: Revert "spam udp traffic to he and google; we need something to sniff" This reverts commit 3a0aaa58acd3e28dcab7006407cb7dad25f1dbfc. --- src/main.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2c28e62..73519d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -81,16 +81,8 @@ fn main() -> Result<()> { watcher.watch(ip_config, RecursiveMode::NonRecursive)?; - // loop { - // thread::sleep(Duration::MAX) - // } - - let sock = std::net::UdpSocket::bind("[::]:0")?; loop { - sock.send_to(&[0x13, 0x37, 0x41, 0x42], "[2001:4860:4860::8888]:1337")?; - sock.send_to(&[0xca, 0xfe, 0xaf, 0xfe], "[2001:470:1f0a:8b9::1]:1337")?; - - thread::sleep(Duration::from_secs(1)); + thread::sleep(Duration::MAX) } } -- cgit v1.2.3