aboutsummaryrefslogtreecommitdiff
path: root/src/config/pub_ip.rs
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2022-01-31 14:08:30 +0100
committerÖzgür Kesim <oec@codeblau.de>2022-01-31 14:08:30 +0100
commitaf71cc35793c6757c19c619226a62f46e3288a57 (patch)
treeb1129593df8b3c68013fa29ef2d5ee7834c3ab5c /src/config/pub_ip.rs
parent322b3c0624028d059613b557a6298001939e4ae9 (diff)
optional ipv6 address
Diffstat (limited to 'src/config/pub_ip.rs')
-rw-r--r--src/config/pub_ip.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/pub_ip.rs b/src/config/pub_ip.rs
index df27f28..f7539d0 100644
--- a/src/config/pub_ip.rs
+++ b/src/config/pub_ip.rs
@@ -5,6 +5,7 @@ use std::default::Default;
pub struct PubIp {
pub icon: String,
pub enabled: bool,
+ pub show6: bool,
pub delay: f64,
}
@@ -13,6 +14,7 @@ impl Default for PubIp {
PubIp {
icon: String::from(""),
enabled: false,
+ show6: false,
delay: 120.0,
}
}