diff --git a/internal/aghos/fswatcher.go b/internal/aghos/fswatcher.go index 8f5d1d60..32d88f21 100644 --- a/internal/aghos/fswatcher.go +++ b/internal/aghos/fswatcher.go @@ -113,7 +113,7 @@ func (w *osWatcher) handleEvents() { } // Skip the following events assuming that sometimes the same event - // occurrs several times. + // occurs several times. for ok := true; ok; { select { case _, ok = <-ch: diff --git a/internal/dhcpd/v4_unix_test.go b/internal/dhcpd/v4_unix_test.go index 5f6cac1b..3ad43b74 100644 --- a/internal/dhcpd/v4_unix_test.go +++ b/internal/dhcpd/v4_unix_test.go @@ -875,7 +875,7 @@ func TestV4Server_handleDecline(t *testing.T) { func TestV4Server_handleRelease(t *testing.T) { const ( - dynamicName = "dymamic-client" + dynamicName = "dynamic-client" anotherName = "another-client" ) diff --git a/internal/dnsforward/dnsforward.go b/internal/dnsforward/dnsforward.go index 6782a5c3..f5fd5e5c 100644 --- a/internal/dnsforward/dnsforward.go +++ b/internal/dnsforward/dnsforward.go @@ -55,7 +55,7 @@ var ( var webRegistered bool -// DHCP is an interface for accesing DHCP lease data needed in this package. +// DHCP is an interface for accessing DHCP lease data needed in this package. type DHCP interface { // HostByIP returns the hostname of the DHCP client with the given IP // address. The address will be netip.Addr{} if there is no such client,