Page MenuHomeFreeBSD

dnctl: Support reading config from file like ipfw(8)
ClosedPublic

Authored by kp on Dec 23 2021, 2:51 PM.
Tags
None
Referenced Files
F166780397: D33627.id100496.diff
Sun, Aug 16, 1:28 PM
F166780396: D33627.id100873.diff
Sun, Aug 16, 1:28 PM
F166780348: D33627.diff
Sun, Aug 16, 1:26 PM
Unknown Object (File)
Tue, Aug 11, 9:28 PM
Unknown Object (File)
Mon, Aug 10, 8:26 AM
Unknown Object (File)
Mon, Aug 10, 6:31 AM
Unknown Object (File)
Sat, Aug 8, 3:29 AM
Unknown Object (File)
Fri, Aug 7, 6:14 PM
Subscribers

Details

Summary

Extend the dnctl (dummynet config) tool to be able to read commands from
a file, just like ipfw already does.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43557
Build 40445: arc lint + arc unit

Event Timeline

kp requested review of this revision.Dec 23 2021, 2:51 PM

Looks like there's some whitespace adjustment included too. Will that be a separate commit?

In D33627#760102, @cy wrote:

Looks like there's some whitespace adjustment included too. Will that be a separate commit?

I didn't intend for there to be any, other than increasing the indent level of the while ((c = getopt(ac, av, "cfNnp:qS")) != -1) loop, and as far as I can tell that's the only whitespace change.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 3 2022, 12:56 PM
This revision was automatically updated to reflect the committed changes.