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)
Mon, Oct 13, 10:27 PM
Unknown Object (File)
Mon, Oct 13, 10:26 PM
Unknown Object (File)
Mon, Oct 13, 10:26 PM
Unknown Object (File)
Mon, Oct 13, 8:47 AM
Unknown Object (File)
Mon, Sep 22, 4:35 PM
Unknown Object (File)
Fri, Sep 19, 10:01 PM
Unknown Object (File)
Sep 8 2025, 9:45 PM
Unknown Object (File)
Aug 12 2025, 4:05 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29508
Build 27378: arc lint + arc unit

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.