Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Mar 8, 2024
1 parent 9232f1f commit 63af5ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions v2rayN/v2rayN/Handler/CoreConfigSingbox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ private int GenOutboundTransport(ProfileItem node, Outbound4Sbox outbound)
transport.path = Utile.IsNullOrEmpty(node.path) ? null : node.path;
}
}
else
{
transport = null;
}

break;

Expand Down
10 changes: 5 additions & 5 deletions v2rayN/v2rayN/Model/SingboxConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Log4Sbox
public bool? disabled { get; set; }
public string level { get; set; }
public string output { get; set; }
public bool timestamp { get; set; }
public bool? timestamp { get; set; }
}

public class Dns4Sbox
Expand Down Expand Up @@ -120,10 +120,10 @@ public class Outbound4Sbox
public int? mtu { get; set; }
public string? plugin { get; set; }
public string? plugin_opts { get; set; }
public Tls4Sbox tls { get; set; }
public Multiplex4Sbox multiplex { get; set; }
public Transport4Sbox transport { get; set; }
public HyObfs4Sbox obfs { get; set; }
public Tls4Sbox? tls { get; set; }
public Multiplex4Sbox? multiplex { get; set; }
public Transport4Sbox? transport { get; set; }
public HyObfs4Sbox? obfs { get; set; }
}

public class Tls4Sbox
Expand Down

0 comments on commit 63af5ba

Please sign in to comment.