HomeFreeBSD

ipfw: make algo name argument optional for some table types

Description

ipfw: make algo name argument optional for some table types

Most of table types currently supported by ipfw have only one
algorithm implementation. When user creates such tables, allow
to omit algo name in arguments. E.g. now it is possible:
ipfw table T1 create type number
ipfw table T2 create type iface
ipfw table T3 create type flow

PR: 233072
Sponsored by: Yandex LLC

(cherry picked from commit 13ad237a19b7368124483d9d1dc3258c27880fef)

Details

Provenance
aeAuthored on Feb 25 2021, 1:57 PM
Parents
rGe3d9b9cc02b6: MFC 9febbc454190:
Branches
Unknown
Tags
Unknown