aboutsummaryrefslogtreecommitdiff
path: root/cmd/vhost/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vhost/main.go')
-rw-r--r--cmd/vhost/main.go4
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)
}