diff options
author | Özgür Kesim <oec@codeblau.de> | 2022-01-31 17:35:56 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2022-01-31 17:35:56 +0100 |
commit | 0de57f2e49a1aeeb47cf82ece0b0ad158f477da7 (patch) | |
tree | 8e5dbf9c9089d0d02a2e9c105a5abb3b22c9204d /src/config | |
parent | af71cc35793c6757c19c619226a62f46e3288a57 (diff) |
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/local_ip.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/local_ip.rs b/src/config/local_ip.rs index 8b3b63a..6ee2443 100644 --- a/src/config/local_ip.rs +++ b/src/config/local_ip.rs @@ -5,6 +5,8 @@ use std::default::Default; pub struct LocalIp { pub icon: String, pub enabled: bool, + pub show4: bool, + pub show6: bool, pub delay: f64, pub interface: String, } @@ -14,6 +16,8 @@ impl Default for LocalIp { LocalIp { icon: String::from(""), enabled: false, + show4: true, + show6: false, delay: 120.0, interface: String::from("wlan0"), } |