mirror of
https://github.com/soypat/lneto.git
synced 2026-08-19 06:04:01 +00:00
CopyFrom pattern for DNS and use it for Cookie
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ func NewBridge(name string) (*Bridge, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
proto := htons(syscall.ETH_P_IP)
|
||||
proto := htons(syscall.ETH_P_ALL)
|
||||
fd, err := syscall.Socket(syscall.AF_PACKET, syscall.SOCK_RAW, int(proto))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user