diff options
Diffstat (limited to 'src/config/local_ip.rs')
-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"), } |