Page MenuHomeFreeBSD

netgraph/ng_bpf: Fixing example in man page
ClosedPublic

Authored by donner on Feb 20 2020, 12:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 12, 4:05 AM
Unknown Object (File)
Fri, Aug 8, 7:57 AM
Unknown Object (File)
Sat, Aug 2, 11:14 PM
Unknown Object (File)
Fri, Jul 25, 7:22 PM
Unknown Object (File)
Jul 14 2025, 8:33 AM
Unknown Object (File)
Jul 1 2025, 10:36 PM
Unknown Object (File)
Jul 1 2025, 10:58 AM
Unknown Object (File)
Jun 30 2025, 7:11 AM

Details

Summary

Simply copy and paste the example from the man page result in "ngctl: send msg: Invalid argument".
The example is missing a white space to separate arguments.

Test Plan

Before:

ngctl msg ... bpf_prog_len=11bpf_prog...

After:

ngctl msg ... bpf_prog_len=11 bpf_prog...

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bcr added a subscriber: bcr.

Thank you. I'll get this committed to the tree.

This revision is now accepted and ready to land.Apr 29 2020, 11:12 AM
This revision was automatically updated to reflect the committed changes.