From d3cf93fb6c9b7e0faf9b7907328f0a042009e164 Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Mon, 15 Apr 2024 20:33:32 +0200 Subject: Closes #35. Entry of Ip optional, error on ping request without saved ip --- src/storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage.rs') diff --git a/src/storage.rs b/src/storage.rs index 0da245b..52c2e60 100644 --- a/src/storage.rs +++ b/src/storage.rs @@ -18,7 +18,7 @@ pub struct Device { pub id: String, pub mac: MacAddress, pub broadcast_addr: String, - pub ip: IpNetwork, + pub ip: Option, pub times: Option>, } -- cgit v1.2.3