]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfilctl: improve formatting of "hooks" and "heads" command output.
authorGleb Smirnoff <glebius@FreeBSD.org>
Fri, 19 Mar 2021 18:18:05 +0000 (11:18 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Fri, 19 Mar 2021 18:18:05 +0000 (11:18 -0700)
commitd76f6b8e7389b2b8a35c4b6f3859365ba05c7e90
treeb44ed4079adf340061375b8ed8415b63b815b4dd
parent473f6163e310b773dfd7e500e255d01d7328dd16
pfilctl: improve formatting of "hooks" and "heads" command output.

In "heads" output just improve the header to describe all of the columns.
In "hooks" print filter name and hook name delimited with colon, so that
it matches "heads" output and also can be copy-and-pasted straight into
the command line for future "link" command.
sbin/pfilctl/pfilctl.c