feat!: Pass connected to ip to serve callback
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user