summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-02-04 14:24:18 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-04 23:34:24 -0800
commitc9436bc7218800ef6911dab6eed7d7ddf3378e94 (patch)
tree6001d367aa133e28fddb460647c37e3ac5aef168 /config/bgp_configs.go
parent7f6831ce1228e42b717f5bf3e507ddae06483ba1 (diff)
server: add support specifying addresses to listen
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index c6a3e53e..4191bbd2 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -1448,6 +1448,8 @@ type Neighbor struct {
type ListenConfig struct {
// original -> gobgp:port
Port int32 `mapstructure:"port"`
+ // original -> gobgp:local-address
+ LocalAddressList []string `mapstructure:"local-address-list"`
}
//struct for container gobgp:mpls-label-range