aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-11-05 13:28:19 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-11-05 13:28:19 +0100
commit734501bc063ea163fec893869864be75f23b9014 (patch)
tree7aa6753858322fc73e6a3e2eafca87fc2e049046
parentf26649a8733ff079ccd340191ff2442a91cb0d17 (diff)
remove access to SessionFds interface control socket
-rw-r--r--src/supervisor.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/supervisor.rs b/src/supervisor.rs
index 59269b0..da22db5 100644
--- a/src/supervisor.rs
+++ b/src/supervisor.rs
@@ -42,16 +42,6 @@ struct sockaddr_pppox {
struct SessionFds(Socket, File, File);
impl SessionFds {
- /// Returns an immutable reference to the network interface control socket.
- pub fn interface(&self) -> &Socket {
- &self.0
- }
-
- /// Returns a mutable reference to the network interface control socket.
- pub fn interface_mut(&mut self) -> &mut Socket {
- &mut self.0
- }
-
/// Returns an immutable reference to the file descriptor
/// that handles LCP, authentication and other link related traffic.
pub fn link(&self) -> &File {