summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/peer.go b/server/peer.go
index 1d77ed51..70d464ec 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -63,6 +63,7 @@ func NewPeer(g config.Global, conf config.Neighbor) *Peer {
}
peer.peerInfo = &table.PeerInfo{
AS: conf.NeighborConfig.PeerAs,
+ LocalAS: g.GlobalConfig.As,
LocalID: g.GlobalConfig.RouterId,
Address: conf.NeighborConfig.NeighborAddress,
}