diff --git a/router/nbp.go b/router/nbp.go index 77584b8..0a778e6 100644 --- a/router/nbp.go +++ b/router/nbp.go @@ -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 } diff --git a/router/nbp_aurp.go b/router/nbp_aurp.go index 9bdec25..b8e6c9d 100644 --- a/router/nbp_aurp.go +++ b/router/nbp_aurp.go @@ -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