Skip to content

Commit

Permalink
max bgp asn 4294967294
Browse files Browse the repository at this point in the history
  • Loading branch information
bortok committed Sep 20, 2023
1 parent 6a36550 commit c99ab59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bgp.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

const (
BGP_ASN_MIN = uint32(0) // Minimum value for ASN
BGP_ASN_MAX = uint32(2147483647) // Maximin value for ASN (4-byte), should be uint32(4294967294) but gosnappi uses signed int32 and that leads to negative values
BGP_ASN_MAX = uint32(4294967295) // Maximin value for ASN (4-byte)
BGP_ASN_DEFAULT = uint32(65534) // Default ASN value
)

Expand Down

0 comments on commit c99ab59

Please sign in to comment.