rstate = Connected after last RI-Rsp
This commit is contained in:
parent
53d6a21d5d
commit
26e9f67dc5
1 changed files with 4 additions and 0 deletions
4
peer.go
4
peer.go
|
@ -276,6 +276,10 @@ func (p *peer) handle(ctx context.Context) error {
|
||||||
log.Printf("Couldn't send RI-Ack packet: %v", err)
|
log.Printf("Couldn't send RI-Ack packet: %v", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if pkt.Flags&aurp.RoutingFlagLast != 0 {
|
||||||
|
// No longer waiting for an RI-Rsp
|
||||||
|
rstate = rsConnected
|
||||||
|
}
|
||||||
|
|
||||||
case *aurp.RIAckPacket:
|
case *aurp.RIAckPacket:
|
||||||
switch sstate {
|
switch sstate {
|
||||||
|
|
Loading…
Reference in a new issue