mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-13 17:36:28 +00:00
more switch migration
This commit is contained in:
@ -242,7 +242,7 @@ func (p *peer) _handleTraffic(packet []byte, pTypeLen int) {
|
||||
// Drop traffic if the peer isn't in the switch
|
||||
return
|
||||
}
|
||||
p.core.switchTable.packetIn <- packet
|
||||
p.core.switchTable.packetInFrom(p, packet)
|
||||
}
|
||||
|
||||
func (p *peer) sendPacketsFrom(from phony.IActor, packets [][]byte) {
|
||||
|
Reference in New Issue
Block a user