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
F169431430: D23773.diff
Tue, Sep 1, 12:57 PM
Unknown Object (File)
Mon, Aug 31, 2:35 PM
Unknown Object (File)
Mon, Aug 31, 9:34 AM
Unknown Object (File)
Mon, Aug 31, 12:05 AM
Unknown Object (File)
Sun, Aug 30, 11:12 AM
Unknown Object (File)
Fri, Aug 28, 10:08 PM
Unknown Object (File)
Fri, Aug 28, 9:26 AM
Unknown Object (File)
Thu, Aug 27, 3:21 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.