We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
server_ip
1 parent 3e86700 commit 14cc991Copy full SHA for 14cc991
drasyl-agent/src/agent/dns/mod.rs
@@ -8,7 +8,9 @@ use tun_rs::AsyncDevice;
8
use url::Url;
9
10
pub trait AgentDnsInterface {
11
- fn server_ip(&self) -> Option<Ipv4Addr>;
+ fn server_ip(&self) -> Option<Ipv4Addr> {
12
+ None
13
+ }
14
15
#[allow(unused_variables)]
16
fn is_server_ip(&self, ip: Ipv4Addr) -> bool {
0 commit comments