Skip to content

Commit

Permalink
fix: Unexpected value: aes256 for RouterOS v7.7 (#294)
Browse files Browse the repository at this point in the history
Fixes #291
  • Loading branch information
vaerh authored Nov 9, 2023
1 parent 4a542b6 commit 6fc8149
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routeros/resource_ovpn_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ func ResourceOpenVPNServer() *schema.Resource {
Description: `Allowed ciphers.`,
ValidateDiagFunc: ValidationMultiValInSlice([]string{
"null", "aes128-cbc", "aes128-gcm", "aes192-cbc", "aes192-gcm", "aes256-cbc", "aes256-gcm", "blowfish128",
// Backward compatibility with ROS v7.7
"aes128", "aes192", "aes256",
}, false, false),
},
"default_profile": {
Expand Down

0 comments on commit 6fc8149

Please sign in to comment.