From e79bddbcb4a7753feb58089df3a41abf91e41d21 Mon Sep 17 00:00:00 2001 From: Bryan Stenson Date: Thu, 16 Nov 2023 00:07:49 -0800 Subject: [PATCH] Typo in routing/common.go (#37) --- routing/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/common.go b/routing/common.go index a6746d49..b0cc285a 100644 --- a/routing/common.go +++ b/routing/common.go @@ -25,7 +25,7 @@ type Router interface { // available). If the preferred src address is not given in the routing // table, the first IP address of the interface is provided. // - // If an error is encountered, iface, geteway, and + // If an error is encountered, iface, gateway, and // preferredSrc will be nil, and err will be set. Route(dst net.IP) (iface *net.Interface, gateway, preferredSrc net.IP, err error)