blob: 5651bda8ac71b0148504f5a4e824044296a86db2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// generated by stringer -type=ESIType bgp.go validate.go; DO NOT EDIT
package bgp
import "fmt"
const _ESIType_name = "ESI_ARBITRARYESI_LACPESI_MSTPESI_MACESI_ROUTERIDESI_AS"
var _ESIType_index = [...]uint8{0, 13, 21, 29, 36, 48, 54}
func (i ESIType) String() string {
if i+1 >= ESIType(len(_ESIType_index)) {
return fmt.Sprintf("ESIType(%d)", i)
}
return _ESIType_name[_ESIType_index[i]:_ESIType_index[i+1]]
}
|