diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-12-06 10:38:16 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-12-06 10:38:16 +0900 |
commit | ec6bcf13f15f9b717c87e4d22232a38572e1d6f2 (patch) | |
tree | 9eb1a5199324775f61bed64a70b29093bd8cfe38 /api | |
parent | 7ff862f3eefceb3a58ca8be09ead21336d5cb504 (diff) |
api/cli: show all longer prefixes with longer-prefixes option
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
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 { |