mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-02 21:36:06 +03:00
fix: handle empty I1-I5
This commit is contained in:
1 parent
3610f21b75
commit
1cc94272ca
1 file changed
+3
@@ -85,6 +85,9 @@ func newObfChain(spec string) (*obfChain, error) {
|
||||
if len(errs) > 0 {
|
||||
return nil, errors.Join(errs...)
|
||||
}
|
||||
if len(obfs) == 0 {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
return &obfChain{
|
||||
Spec: spec,
|
||||
|
||||
Reference in new issue
Block a user