mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-07-23 02:42:49 +02:00
cleanup
This commit is contained in:
parent
f3433a9840
commit
9430d336f9
1 changed files with 4 additions and 3 deletions
|
@ -211,17 +211,17 @@ impl<Inner: InnerProtocolLayer + ?Sized + 'static> ApplicationLayer for VL1Servi
|
|||
}
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
#[inline]
|
||||
fn local_socket_is_valid(&self, socket: &Self::LocalSocket) -> bool {
|
||||
socket.is_valid()
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
#[inline]
|
||||
fn load_node_identity(&self) -> Option<Verified<Identity>> {
|
||||
self.vl1_data_storage.load_node_identity()
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
#[inline]
|
||||
fn save_node_identity(&self, id: &Verified<Identity>) -> bool {
|
||||
self.vl1_data_storage.save_node_identity(id)
|
||||
}
|
||||
|
@ -231,6 +231,7 @@ impl<Inner: InnerProtocolLayer + ?Sized + 'static> ApplicationLayer for VL1Servi
|
|||
self.buffer_pool.get()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn wire_send(
|
||||
&self,
|
||||
endpoint: &Endpoint,
|
||||
|
|
Loading…
Add table
Reference in a new issue