aboutsummaryrefslogtreecommitdiff
path: root/cmd/vhost/main.go
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-70.local>2023-10-23 18:32:05 -0400
committerDavid Doan <daviddoan@Davids-MacBook-Pro-70.local>2023-10-23 18:32:05 -0400
commitc4953632a5ce653301def74b19932c6d9703b174 (patch)
treea3999e2e5a568e27d3721432eeaa47e0a699a345 /cmd/vhost/main.go
parentb44583954cb762755e85d58da0a9527fa369c01e (diff)
parent1f926271bc80bcd6ff5ed52bb76a9ade347367b8 (diff)
sectioning comments
Diffstat (limited to 'cmd/vhost/main.go')
-rw-r--r--cmd/vhost/main.go2
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