Pull request 1996: fix-typo

Squashed commit of the following:

commit 992ad5752cd529c915e28600ef34511d3c941fee
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Wed Sep 6 15:54:58 2023 +0300

    all: fix some typos
This commit is contained in:
Ainar Garipov 2023-09-06 19:42:34 +03:00
parent 30c6676dc0
commit 93d7be1604
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ func (w *osWatcher) handleEvents() {
} }
// Skip the following events assuming that sometimes the same event // Skip the following events assuming that sometimes the same event
// occurrs several times. // occurs several times.
for ok := true; ok; { for ok := true; ok; {
select { select {
case _, ok = <-ch: case _, ok = <-ch:

View File

@ -875,7 +875,7 @@ func TestV4Server_handleDecline(t *testing.T) {
func TestV4Server_handleRelease(t *testing.T) { func TestV4Server_handleRelease(t *testing.T) {
const ( const (
dynamicName = "dymamic-client" dynamicName = "dynamic-client"
anotherName = "another-client" anotherName = "another-client"
) )

View File

@ -55,7 +55,7 @@ var (
var webRegistered bool 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 { type DHCP interface {
// HostByIP returns the hostname of the DHCP client with the given IP // 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, // address. The address will be netip.Addr{} if there is no such client,