diff options
Diffstat (limited to 'pkg/ipstack')
-rw-r--r-- | pkg/ipstack/ipstack.go | 2 | ||||
-rw-r--r-- | pkg/ipstack/ipstack_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/ipstack/ipstack.go b/pkg/ipstack/ipstack.go index 2063c67..91cc6f9 100644 --- a/pkg/ipstack/ipstack.go +++ b/pkg/ipstack/ipstack.go @@ -294,7 +294,7 @@ func CleanUp() { // delete all the neighbors myNeighbors = make(map[string][]*Neighbor) - // delete tall the interfaces + // delete all the interfaces myInterfaces = nil // delete the routing table routingTable = make(map[netip.Prefix]Hop) diff --git a/pkg/ipstack/ipstack_test.go b/pkg/ipstack/ipstack_test.go index c6103ee..941c4e9 100644 --- a/pkg/ipstack/ipstack_test.go +++ b/pkg/ipstack/ipstack_test.go @@ -185,7 +185,7 @@ func TestSendIPToNeighbor(t *testing.T) { // send a message to the neighbor fmt.Printf("sending message to neighbor\t%t\n", sent) - err = SendIP(*iface, *testNeighbor, 0, []byte("hello")) + err = SendIP(*iface, *testNeighbor, 0, []byte("You are my firest neighbor!")) if err != nil { t.Error(err) } |