feat!: Pass connected to ip to serve callback

This commit is contained in:
2026-10-15 03:43:37 +02:00
parent 5552013eeb
commit 5a5df6bfc3
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ async fn main() -> Result<(), Error> {
let re = Regex::new(r"talos/(?<cluster>.+)/(?<node>.+)\.ya?ml")
.expect("regex should be valid");
tftp::serve(move |filename| {
tftp::serve(move |filename, _| {
let filename = filename.to_owned();
let re = re.clone();