More log
This commit is contained in:
parent
3953511438
commit
3b850ad89e
2 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,7 @@ func (rtr *Router) HandleNBP(srcHWAddr ethernet.Addr, ddpkt *ddp.ExtPacket) erro
|
|||
if err != nil || outDDP == nil {
|
||||
return err
|
||||
}
|
||||
log.Print("NBP: Replying to LkUp with LkUp-Reply for myself")
|
||||
return rtr.sendEtherTalkDDP(srcHWAddr, outDDP)
|
||||
|
||||
case nbp.FunctionBrRq:
|
||||
|
@ -100,6 +101,7 @@ func (rtr *Router) HandleNBP(srcHWAddr ethernet.Addr, ddpkt *ddp.ExtPacket) erro
|
|||
if outDDP2 == nil {
|
||||
continue
|
||||
}
|
||||
log.Print("NBP: Replying to BrRq with LkUp-Reply for myself")
|
||||
if err := rtr.sendEtherTalkDDP(srcHWAddr, outDDP2); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -80,6 +80,7 @@ func (rtr *Router) HandleNBPInAURP(peer *Peer, ddpkt *ddp.ExtPacket) error {
|
|||
if err != nil || outDDP == nil {
|
||||
return err
|
||||
}
|
||||
log.Print("NBP/DDP/AURP: Replying to BrRq with LkUp-Reply for myself")
|
||||
outDDPRaw, err := ddp.ExtMarshal(*outDDP)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue