Direct network should be distnace 0

This commit is contained in:
Josh Deprez 2024-03-30 20:53:58 +11:00
parent bed26e3020
commit dcbe66d310
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

View file

@ -230,7 +230,7 @@ func (p *peer) handle(ctx context.Context) error {
{ {
RangeStart: p.cfg.EtherTalk.NetStart, RangeStart: p.cfg.EtherTalk.NetStart,
RangeEnd: p.cfg.EtherTalk.NetEnd, RangeEnd: p.cfg.EtherTalk.NetEnd,
Distance: 1, Distance: 0,
}, },
} }
p.tr.LocalSeq = 1 p.tr.LocalSeq = 1