ipset: imp docs

This commit is contained in:
Stanislav Chzhen 2023-10-23 16:28:34 +03:00
parent cfb5d8a657
commit 7c6e63a393
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ func (qc *queryConn) listAll() (sets []props, err error) {
return nil, fmt.Errorf("marshaling netlink msg: %w", err)
}
// We assume it's OK to call a method of an unexported type
// [ipset.connector], since there is no negative effects.
ms, err := qc.Conn.Conn.Query(msg)
if err != nil {
return nil, fmt.Errorf("querying netlink msg: %w", err)