parse targets

This commit is contained in:
eyedeekay
2025-02-03 01:03:26 -05:00
parent 1a764a6363
commit b7e2967acf
3 changed files with 6 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ func (c *Converter) parsePropertyKey(k, s string, config *TunnelConfig) {
config.PersistentKey = true
case "description":
config.Description = s
case "targetDestination":
config.Target = s
default:
if strings.HasPrefix(parts[1], "option.i2cp") {
config.I2CP[parts[2]] = s