fix(connlib): correctly forward rollover (#2462)

This commit is contained in:
Thomas Eizinger
2023-10-20 16:12:55 +11:00
committed by GitHub
parent 124e08c13b
commit d2c0744518

View File

@@ -2,6 +2,7 @@ use crate::messages::ResourceDescription;
use crate::{Callbacks, Error, Result};
use ip_network::IpNetwork;
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
use std::path::PathBuf;
// Avoids having to map types for Windows
type RawFd = i32;
@@ -94,6 +95,10 @@ impl<CB: Callbacks> Callbacks for CallbackErrorFacade<CB> {
Ok(())
}
fn roll_log_file(&self) -> Option<PathBuf> {
self.0.roll_log_file()
}
fn get_system_default_resolvers(
&self,
) -> std::result::Result<Option<Vec<IpAddr>>, Self::Error> {