fix: Restore "nft" method

Accidentally removed in refactoring (commit 900acc3).

Closes #1037.

Co-authored-by: Vadim Dyadkin <dyadkin@3lp.cx>
This commit is contained in:
satarsa 2025-03-25 21:26:38 +01:00 committed by GitHub
parent 5942376090
commit 375810a9a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -247,7 +247,7 @@ parser.add_argument(
if sys.platform == 'win32':
method_choices = ["auto", "windivert"]
else:
method_choices = ["auto", "nat", "tproxy", "pf", "ipfw"]
method_choices = ["auto", "nft", "nat", "tproxy", "pf", "ipfw"]
parser.add_argument(
"--method",