-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
pid is stored as int but gets converted to uint16 and thus will never match when processPacket compares int on batchpinger to uint16 from packet
// Pinger.SendICMP
xid := p.id & 0xffff
body := &icmp.Echo{
ID: xid,
Seq: seqID,
Data: t,
}
// BatchPinger.processPacket
xid := p.id & 0xffff
if pkt.ID != xid {
...
}
Metadata
Metadata
Assignees
Labels
No labels