ackhandler: remove the packet list element from the correct list

This commit is contained in:
Marten Seemann
2022-12-30 18:35:05 +13:00
parent d2512193da
commit dd30a02627
2 changed files with 6 additions and 6 deletions

View File

@@ -43,6 +43,10 @@ func (e *Element[T]) Prev() *Element[T] {
return nil
}
func (e *Element[T]) List() *List[T] {
return e.list
}
// List represents a doubly linked list.
// The zero value for List is an empty list ready to use.
type List[T any] struct {