Skip to content

Commit

Permalink
Fix max value for MTU - Fix Main
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpedrosa committed Feb 26, 2024
1 parent 5ca46ae commit 779037a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routeros/resource_ipv6_neighbor_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package routeros
import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"math"
)

/*
Expand Down Expand Up @@ -78,7 +79,7 @@ func ResourceIPv6NeighborDiscovery() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
Description: "The flag indicates whether hosts should use stateful autoconfiguration (DHCPv6) to obtain addresses",
ValidateFunc: validation.IntBetween(0, 4294967295),
ValidateFunc: validation.IntBetween(0, math.MaxInt32),
},
"other_configuration": {
Type: schema.TypeBool,
Expand Down

0 comments on commit 779037a

Please sign in to comment.