mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 14:07:53 +00:00
add interface name information when reporting link score changes.
This commit is contained in:
parent
74245f6f57
commit
2f4230ba2a
@ -576,7 +576,8 @@ int link_received_packet(struct subscriber *subscriber, struct overlay_interface
|
||||
}
|
||||
if (sender_seq >=0){
|
||||
if (link->sequence !=-1 && sender_seq != ((link->sequence+1)&0xFF)){
|
||||
DEBUGF("LINK STATE; Sequence jumped from %d to %d", link->sequence, sender_seq);
|
||||
DEBUGF("LINK STATE %s; Sequence jumped from %d to %d",
|
||||
interface->name,link->sequence, sender_seq);
|
||||
}
|
||||
link->sequence = sender_seq;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user