Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <dev@der-flo.net>
  • Loading branch information
florianl committed Jun 1, 2024
1 parent 4ea3ff6 commit 6f96b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func main() {
defer nl.Close()

// Dump all TCP sockets
tcpSockets, err := nl.TCP().Dump()
tcpSockets, err := nl.TCPDump()
if err != nil {
fmt.Fprintf(os.Stderr, "could not dump data: %v\n", err)
return
Expand Down

0 comments on commit 6f96b38

Please sign in to comment.