From c99ab59d975fc1b38045c9c64851f1159b7760eb Mon Sep 17 00:00:00 2001 From: Alex Bortok Date: Tue, 19 Sep 2023 20:34:39 -0700 Subject: [PATCH] max bgp asn 4294967294 --- cmd/bgp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bgp.go b/cmd/bgp.go index e4c88bc..a7aaeec 100644 --- a/cmd/bgp.go +++ b/cmd/bgp.go @@ -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 )