Using nargs=1 causes arguments to produce lists from which we must then
get the real value. The same applies to defaults, the must be provided
as arrays too.
Remove nargs=1 so that values and defaults can be accessed directly.
Differential D46772
pf tests: Remove nargs from single arguments vegeta_tuxpowered.net on Sep 24 2024, 3:22 PM. Authored by Tags None Referenced Files
Details
Using nargs=1 causes arguments to produce lists from which we must then Remove nargs=1 so that values and defaults can be accessed directly.
Diff Detail
Event TimelineComment Actions This seems to include a move to sys/netpfil/common/pft_ping.py, but not the makefile changes that would require. I assume the move is not intended to be part of this patch? Other than that this looks good, so when my test run completes I intend to commit this without the move. |