aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-08-14 21:52:04 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-08-14 21:52:04 +0200
commitdba7c6f50acab075b239dc1f9474494d5e249951 (patch)
tree1ccc74313c4e908afcbeee4265d30fda09ce4d8c
parent3a0aaa58acd3e28dcab7006407cb7dad25f1dbfc (diff)
Revert "spam udp traffic to he and google; we need something to sniff"
This reverts commit 3a0aaa58acd3e28dcab7006407cb7dad25f1dbfc.
-rw-r--r--src/main.rs10
1 files changed, 1 insertions, 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)
}
}