diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/gobgp.pb.go | 6 | ||||
-rw-r--r-- | api/gobgp.proto | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index d59a11da..a4f6069b 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -537,9 +537,9 @@ func (m *Path) String() string { return proto.CompactTextString(m) } func (*Path) ProtoMessage() {} type Destination struct { - Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` - Paths []*Path `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"` - LongerPrefix bool `protobuf:"varint,3,opt,name=longer_prefix" json:"longer_prefix,omitempty"` + Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` + Paths []*Path `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"` + LongerPrefixes bool `protobuf:"varint,3,opt,name=longer_prefixes" json:"longer_prefixes,omitempty"` } func (m *Destination) Reset() { *m = Destination{} } diff --git a/api/gobgp.proto b/api/gobgp.proto index b78020bb..2d5cde94 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -170,7 +170,7 @@ message Path { message Destination { string prefix = 1; repeated Path paths = 2; - bool longer_prefix = 3; + bool longer_prefixes = 3; } message Table { |