mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 06:59:04 +00:00
all in on StackNode refactor: Encapsulate/Demux on all stacks+ConnID+more abstraction
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ func (efrm Frame) HeaderLength() int {
|
||||
return sizeHeaderNoVLAN
|
||||
}
|
||||
|
||||
// Payload returns the data portion of the ethernet packet with handling of VLAN packets.
|
||||
// Payload returns the data portion of the ethernet packet with correct handling of VLAN packets.
|
||||
func (efrm Frame) Payload() []byte {
|
||||
hl := efrm.HeaderLength()
|
||||
et := efrm.EtherTypeOrSize()
|
||||
|
||||
Reference in New Issue
Block a user