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:
parent
30c6676dc0
commit
93d7be1604
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue