diff --git a/templates/lib_template.go b/templates/lib_template.go index 81b63c2..6c94017 100644 --- a/templates/lib_template.go +++ b/templates/lib_template.go @@ -298,6 +298,8 @@ func SetProfileAttribute(profileOnion string, key string, value string) { profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.ProfileAttribute2, value) } else if zone == attr.ProfileZone && key == constants.ProfileAttribute3 { profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.ProfileAttribute3, value) + } else if zone == attr.ProfileZone && key == constants.ProfileStatus { + profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.ProfileStatus, value) } else if zone == attr.ProfileZone && key == constants.PeerAutostart { profile.SetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.PeerAutostart, value) } else {