Fix proto
This commit is contained in:
parent
d58534d5df
commit
b52109fe28
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ func (rtr *Router) HandleNBP(srcHWAddr ethernet.Addr, ddpkt *ddp.ExtPacket) erro
|
|||
DstNet: 0x0000, // Local network broadcast
|
||||
DstNode: 0xFF, // Broadcast node address within the dest network
|
||||
DstSocket: 2,
|
||||
Proto: ddp.ProtoNBP,
|
||||
},
|
||||
Data: nbpRaw,
|
||||
}
|
||||
|
@ -132,6 +133,7 @@ func (rtr *Router) HandleNBP(srcHWAddr ethernet.Addr, ddpkt *ddp.ExtPacket) erro
|
|||
DstNet: z.Network,
|
||||
DstNode: 0x01, // Router node address for the dest network
|
||||
DstSocket: 2,
|
||||
Proto: ddp.ProtoNBP,
|
||||
},
|
||||
Data: nbpRaw,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue