新TAP测试(TODO 解析arp)
This commit is contained in:
@@ -149,7 +149,7 @@ func NewNetTunnel() *NetTunnel {
|
||||
go func() {
|
||||
for wbuf := range nt.writer {
|
||||
var frame ethernet.Frame = wbuf
|
||||
// copy(frame[0:6], nt.ifmac)
|
||||
copy(frame[0:6], nt.ifmac)
|
||||
|
||||
// payload := frame.Payload()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user