]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ipfw: make algo name argument optional for some table types
authorAndrey V. Elsukov <ae@FreeBSD.org>
Thu, 25 Feb 2021 13:57:47 +0000 (16:57 +0300)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Thu, 4 Mar 2021 09:21:28 +0000 (12:21 +0300)
commitf8317f3a4c7dc01438328edd21c984d794286ec5
tree0bcd892facac742fa4cfb53a537091a377ae601a
parent0dcfb6d761ccc8bd45b68231f9a5f4ff4c6d989f
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)
sbin/ipfw/tables.c