pfctl: resolve '-s' ambiguity
The 'introduce source and state limiters' commit added source and state
limiters, and used Stlimiters and Srclimiters as show options. However,
FreeBSD had 'Sources' as a show option already. This means that
'pfctl -sS' would now be ambiguous. Avoid this by renaming the new
options.
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
+2
-2
@@ -524,7 +524,7 @@ When used together with
|
||||
interface statistics are also shown.
|
||||
.Fl i
|
||||
can be used to select an interface or a group of interfaces.
|
||||
.It Cm Stlimiter
|
||||
.It Cm LimiterStates
|
||||
Show information about state limiters.
|
||||
If
|
||||
.Fl R Ar id
|
||||
@@ -532,7 +532,7 @@ is specified as well,
|
||||
only the state limiter identified by
|
||||
.Ar id
|
||||
is shown.
|
||||
.It Cm Srclimiter
|
||||
.It Cm LimiterSrcs
|
||||
Show information about source limiters.
|
||||
If
|
||||
.Fl R Ar id
|
||||
|
||||
+2
-2
@@ -320,8 +320,8 @@ static const struct pfctl_opt_id showopt_list[] = {
|
||||
{ "Tables", SHOWOPT_TABLES },
|
||||
{ "osfp", SHOWOPT_OSFP },
|
||||
{ "Running", SHOWOPT_RUNNING },
|
||||
{ "Stlimiters", SHOWOPT_STATELIMS },
|
||||
{ "Srclimiters", SHOWOPT_SOURCELIMS },
|
||||
{ "LimiterStates", SHOWOPT_STATELIMS },
|
||||
{ "LimiterSrcs", SHOWOPT_SOURCELIMS },
|
||||
{ "creatorids", SHOWOPT_CREATORIDS },
|
||||
{ "all", SHOWOPT_ALL },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user