From f2b3d50b9bb90e6c55f5f19fd2c16fea8e288207 Mon Sep 17 00:00:00 2001
From: Annika Wickert <annika.wickert@exaring.de>
Date: Sun, 18 Nov 2018 14:47:35 +0100
Subject: [PATCH] Fixed descriptions

---
 protocols/netlink/netlink_reader.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/protocols/netlink/netlink_reader.go b/protocols/netlink/netlink_reader.go
index 16cb3a53..51616c44 100644
--- a/protocols/netlink/netlink_reader.go
+++ b/protocols/netlink/netlink_reader.go
@@ -20,7 +20,7 @@ const (
 	IPFamily6 int = 6 // IPv6
 )
 
-// NetlinkReader read routes from the Linux Kernel and propagates it to the locRIB
+// NetlinkReader reads routes from the Linux Kernel and propagates them to the locRIB
 type NetlinkReader struct {
 	options *config.Netlink
 	routingtable.ClientManager
@@ -74,7 +74,7 @@ func (nr *NetlinkReader) propagateChanges(routes []netlink.Route) {
 
 // Add given paths to clients
 func (nr *NetlinkReader) addPathsToClients(routes []netlink.Route) {
-	// If there where no routes yet, just skip this funktion. There's nothing to delete
+	// If there were no routes yet, just skip this function. There's nothing to add
 	if len(routes) == 0 {
 		nr.mu.RUnlock()
 		return
@@ -129,7 +129,7 @@ func (nr *NetlinkReader) addPathsToClients(routes []netlink.Route) {
 func (nr *NetlinkReader) removePathsFromClients(routes []netlink.Route) {
 	nr.mu.RLock()
 
-	// If there where no routes yet, just skip this funktion. There's nothing to delete
+	// If there were no routes yet, just skip this function. There's nothing to delete
 	if len(nr.routes) == 0 {
 		nr.mu.RUnlock()
 		return
-- 
GitLab