summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index 3a5a1b6b..d5eb930d 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -1480,6 +1480,9 @@ type NeighborConfig struct {
// original -> bgp:neighbor-address
//bgp:neighbor-address's original type is inet:ip-address
NeighborAddress string `mapstructure:"neighbor-address"`
+ // original -> gobgp:neighbor-port-number
+ //gobgp:neighbor-port-number's original type is inet:port-number
+ NeighborPortNumber uint16 `mapstructure:"neighbor-port-number"`
}
//struct for container bgp:neighbor