mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
*: add global listen port configuration
if port < 0, gobgpd won't listen on tcp:179 Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
+3
-2
@@ -1178,8 +1178,9 @@ func (m *Vrf) String() string { return proto.CompactTextString(m) }
|
||||
func (*Vrf) ProtoMessage() {}
|
||||
|
||||
type Global struct {
|
||||
As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
|
||||
RouterId string `protobuf:"bytes,2,opt,name=router_id" json:"router_id,omitempty"`
|
||||
As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
|
||||
RouterId string `protobuf:"bytes,2,opt,name=router_id" json:"router_id,omitempty"`
|
||||
ListenPort int32 `protobuf:"varint,3,opt,name=listen_port" json:"listen_port,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Global) Reset() { *m = Global{} }
|
||||
|
||||
@@ -467,4 +467,5 @@ message Vrf {
|
||||
message Global {
|
||||
uint32 as = 1;
|
||||
string router_id = 2;
|
||||
int32 listen_port = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user