diff options
Diffstat (limited to 'cmd/vhost')
-rw-r--r-- | cmd/vhost/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/vhost/main.go b/cmd/vhost/main.go index 3c35792..e83d1bf 100644 --- a/cmd/vhost/main.go +++ b/cmd/vhost/main.go @@ -61,7 +61,7 @@ func main() { messageToSendBytes := []byte(messageToSend) address, _ := netip.ParseAddr(ipAddr) - hop, err := ipstack.LongestPrefix(address) + hop, err := ipstack.Route(address) if err != nil { fmt.Println(err) continue |