From 7deeaceff2c5a04badd0af30cd817ae9fa1bafd1 Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Wed, 1 May 2024 09:19:01 +0200 Subject: [PATCH] README: fix name Signed-off-by: Florian Lehner --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 95641d0..83a944f 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ func main() { } defer nf.Close() - // NoENOBUFS - avoid fatal error if netlink buffer overflows. - if err := rtnl.SetOption(netlink.NoENOBUFS, true); err != nil { + // Avoid receiving ENOBUFS errors. + if err := nf.SetOption(netlink.NoENOBUFS, true); err != nil { fmt.Fprintf(os.Stderr, "failed to set netlink option %v: %v", netlink.NoENOBUFS, err) return