diff options
-rw-r--r-- | packet/bgp/bgp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go index 2bd12f24..df2e1571 100644 --- a/packet/bgp/bgp.go +++ b/packet/bgp/bgp.go @@ -2050,7 +2050,7 @@ func ParseEthernetSegmentIdentifier(args []string) (EthernetSegmentIdentifier, e case "AS": esi.Type = ESI_AS default: - typ, err := strconv.ParseUint(args[0], 10, 0) + typ, err := strconv.ParseUint(args[0], 10, 8) if err != nil { return esi, fmt.Errorf("invalid esi type: %s", args[0]) } |