summaryrefslogtreecommitdiff
path: root/src/storage.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-04-15 20:33:32 +0200
committerFxQnLr <[email protected]>2024-04-15 20:33:32 +0200
commitd3cf93fb6c9b7e0faf9b7907328f0a042009e164 (patch)
treea55ec4f56e16de701c6764b559c776b38bc11637 /src/storage.rs
parentb615f6e34e084d520dcc301058b5926074188500 (diff)
downloadwebol-d3cf93fb6c9b7e0faf9b7907328f0a042009e164.tar
webol-d3cf93fb6c9b7e0faf9b7907328f0a042009e164.tar.gz
webol-d3cf93fb6c9b7e0faf9b7907328f0a042009e164.zip
Closes #35. Entry of Ip optional, error on ping request without saved ip
Diffstat (limited to 'src/storage.rs')
-rw-r--r--src/storage.rs2
1 files changed, 1 insertions, 1 deletions
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 {
18 pub id: String, 18 pub id: String,
19 pub mac: MacAddress, 19 pub mac: MacAddress,
20 pub broadcast_addr: String, 20 pub broadcast_addr: String,
21 pub ip: IpNetwork, 21 pub ip: Option<IpNetwork>,
22 pub times: Option<Vec<i64>>, 22 pub times: Option<Vec<i64>>,
23} 23}
24 24