diff options
Diffstat (limited to 'config/serve.go')
-rw-r--r-- | config/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/serve.go b/config/serve.go index 896d154b..ef9b0ae0 100644 --- a/config/serve.go +++ b/config/serve.go @@ -45,7 +45,7 @@ func ReadConfigfileServe(path string, configCh chan BgpConfigSet, reloadCh chan func inSlice(n Neighbor, b []Neighbor) int { for i, nb := range b { - if nb.NeighborConfig.NeighborAddress.String() == n.NeighborConfig.NeighborAddress.String() { + if nb.Config.NeighborAddress.String() == n.Config.NeighborAddress.String() { return i } } |