Skip to content

Commit 9a724cd

Browse files
authored
fix FreeBSD build (#249)
* update boringtun dependency * remove unused method
1 parent 9129e81 commit 9a724cd

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/enterprise/firewall/packetfilter/calls.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -327,19 +327,6 @@ impl Pool {
327327

328328
unsafe { uninit.assume_init() }
329329
}
330-
331-
/// Insert `PoolAddr` at the end of the list. Take ownership of the given `PoolAddr`.
332-
pub(super) fn insert_pool_addr(&mut self, mut pool_addr: PoolAddr) {
333-
// TODO: Traverse tail queue; for now assume empty tail queue.
334-
assert!(
335-
self.list.tqh_first.is_null(),
336-
"Expected one entry in PoolAddr TailQueue."
337-
);
338-
self.list.tqh_first = &raw mut pool_addr;
339-
self.list.tqh_last = &raw mut pool_addr.entries.tqe_next;
340-
pool_addr.entries.tqe_next = ptr::null_mut();
341-
pool_addr.entries.tqe_prev = &raw mut self.list.tqh_first;
342-
}
343330
}
344331

345332
impl Drop for Pool {

0 commit comments

Comments
 (0)