fix: nil pointer for StringArray

This commit is contained in:
xvzc 2024-08-15 19:37:30 +09:00
parent 7f27c1ad43
commit ab4d6819c7

View File

@ -47,6 +47,7 @@ try lower values if the default value doesn't bypass the DPI;
when not given, the client hello packet will be sent in two parts: when not given, the client hello packet will be sent in two parts:
fragmentation for the first data packet and the rest fragmentation for the first data packet and the rest
`) `)
args.AllowedPattern = new(StringArray)
args.Version = flag.Bool("v", false, "print spoof-dpi's version; this may contain some other relevant information") args.Version = flag.Bool("v", false, "print spoof-dpi's version; this may contain some other relevant information")
flag.Var( flag.Var(