From 92645823f36c7ed03faf4baa566078d9d5e06fda Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Mon, 26 Aug 2024 14:25:00 -0400 Subject: [PATCH] Fix deprecated comments Signed-off-by: Etienne Champetier --- conntrack_linux.go | 2 +- conntrack_unspecified.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conntrack_linux.go b/conntrack_linux.go index ba02245..f100030 100644 --- a/conntrack_linux.go +++ b/conntrack_linux.go @@ -70,7 +70,7 @@ func ConntrackUpdate(table ConntrackTableType, family InetFamily, flow *Conntrac // ConntrackDeleteFilter deletes entries on the specified table on the base of the filter // conntrack -D [table] parameters Delete conntrack or expectation // -// Deprecated: use [ConntrackDeleteFilter] instead. +// Deprecated: use [ConntrackDeleteFilters] instead. func ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter CustomConntrackFilter) (uint, error) { return pkgHandle.ConntrackDeleteFilters(table, family, filter) } diff --git a/conntrack_unspecified.go b/conntrack_unspecified.go index 0bfdf42..0049048 100644 --- a/conntrack_unspecified.go +++ b/conntrack_unspecified.go @@ -33,7 +33,7 @@ func ConntrackTableFlush(table ConntrackTableType) error { // ConntrackDeleteFilter deletes entries on the specified table on the base of the filter // conntrack -D [table] parameters Delete conntrack or expectation // -// Deprecated: use [ConntrackDeleteFilter] instead. +// Deprecated: use [ConntrackDeleteFilters] instead. func ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter *ConntrackFilter) (uint, error) { return 0, ErrNotImplemented }