summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto7
1 files changed, 6 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index c8197c5e..f9a43f57 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -575,7 +575,12 @@ message PeerConf {
uint32 peer_as = 5;
string peer_group = 6;
uint32 peer_type = 7;
- uint32 remove_private_as = 8;
+ enum RemovePrivateAs {
+ NONE = 0;
+ ALL = 1;
+ REPLACE = 2;
+ }
+ RemovePrivateAs remove_private_as = 8;
bool route_flap_damping = 9;
uint32 send_community = 10;
repeated bytes remote_cap = 11;