diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-10-16 11:10:09 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-20 10:33:10 +0900 |
commit | 0ba93b0aa99fe72809bf081bae56bd756bba6937 (patch) | |
tree | 1c0ef3ecae1c9d927b0122b7d9af1471979636ff /api/gobgp.proto | |
parent | 7937d8ddb6f8f82c593fb3b019d1fc618dc89f48 (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.proto | 3 |
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 { |