diff options
author | David Doan <daviddoan@Davids-MacBook-Pro-70.local> | 2023-10-20 12:24:59 -0400 |
---|---|---|
committer | David Doan <daviddoan@Davids-MacBook-Pro-70.local> | 2023-10-20 12:24:59 -0400 |
commit | 6618f59d55ae5bbf99426b06e3cdd891f9a0f0c4 (patch) | |
tree | 413ebd5ea736631ab0abc9c78fe9004de5348154 /cmd/vhost/main.go | |
parent | a7f9da2bb4ce6649ca38ab808a7b263aff9afbd7 (diff) |
bug fixing
Diffstat (limited to 'cmd/vhost/main.go')
-rw-r--r-- | cmd/vhost/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/vhost/main.go b/cmd/vhost/main.go index f5016a1..02158c4 100644 --- a/cmd/vhost/main.go +++ b/cmd/vhost/main.go @@ -68,7 +68,7 @@ func main() { for _, interfaces := range ipstack.GetInterfaces() { if interfaces.Name == iface.Name { - err = ipstack.SendIP(interfaces, iface, 0, messageToSendBytes, ipAddr) + err = ipstack.SendIP(interfaces, iface, 0, messageToSendBytes, ipAddr, nil) if err != nil { fmt.Println(err) } @@ -79,7 +79,7 @@ func main() { } for _, interfaces := range ipstack.GetInterfaces() { if interfaces.Name == iface.Name { - err = ipstack.SendIP(interfaces, iface, 0, messageToSendBytes, ipAddr) + err = ipstack.SendIP(interfaces, iface, 0, messageToSendBytes, ipAddr, nil) if err != nil { fmt.Println(err) } |