router: exit early on match of nextHop in processIntraBFD
Fixes issue
Closes
GitOrigin-RevId:
@@ -676,7 +676,7 @@ func (p *scionPacketProcessor) processIntraBFD(src *net.UDPAddr, data []byte) er
for k, v := range p.d.internalNextHops {
if bytes.Equal(v.IP, src.IP) && v.Port == src.Port {
ifID = k
- continue
+ break
}
}
