You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
239 B
Rust
11 lines
239 B
Rust
3 years ago
|
pub fn set_hostname(hostname: &str) {
|
||
|
println!("Setting hostname to {}", hostname);
|
||
|
}
|
||
|
|
||
|
pub fn enable_ipv6(ipv6: bool) {
|
||
|
if ipv6 {
|
||
|
println!("enabling ipv6");
|
||
|
} else {
|
||
|
println!("disabling ipv6");
|
||
|
}
|
||
|
}
|