summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-10-16 11:10:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-20 10:33:10 +0900
commit0ba93b0aa99fe72809bf081bae56bd756bba6937 (patch)
tree1c0ef3ecae1c9d927b0122b7d9af1471979636ff /api/gobgp.proto
parent7937d8ddb6f8f82c593fb3b019d1fc618dc89f48 (diff)
api: use two ints instead of string to represent mask-length-range
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index c3f36061..b91ef183 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -173,7 +173,8 @@ message Peer {
message Prefix {
string ip_prefix = 1;
- string mask_length_range = 2;
+ uint32 mask_length_min = 2;
+ uint32 mask_length_max = 3;
}
message PrefixSet {