diff --git a/protocols/bgp/server/fsm_established.go b/protocols/bgp/server/fsm_established.go index e74a660ab859e00b2d70f66175ddc6c750ffd495..3313923e6c7692aa8035d1ab697d3fa6e2e21c13 100644 --- a/protocols/bgp/server/fsm_established.go +++ b/protocols/bgp/server/fsm_established.go @@ -217,6 +217,7 @@ func (s *establishedState) updates(u *packet.BGPUpdate) { Type: route.BGPPathType, BGPPath: &route.BGPPath{ Source: bnet.IPv4ToUint32(s.fsm.peer.addr), + EBGP: s.fsm.peer.localASN != s.fsm.peer.peerASN, }, }