Skip to content

Commit 7eec654

Browse files
Fix typos
1 parent 74e629f commit 7eec654

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

log.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
// IgnoreReasonQueryTypeUnhandled can be used to signal that a query was not
1919
// handled because the query type is unhandled. This causes the logger to emit a
20-
// debug messure that is hidden by default, instead of a regular ignore message.
20+
// debug message that is hidden by default, instead of a regular ignore message.
2121
const IgnoreReasonQueryTypeUnhandled = "query type unhandled"
2222

2323
// escape is the ANSI escape sequence.
@@ -233,7 +233,7 @@ func (l *Logger) IgnoreDHCP(dhcpType string, peer peerInfo, reason string) {
233233
})
234234
}
235235

236-
// DHCP prints information abound answered DHCP requests in which an address is assined.
236+
// DHCP prints information abound answered DHCP requests in which an address is assigned.
237237
func (l *Logger) DHCP(dhcpType dhcpv6.MessageType, peer peerInfo, assignedAddress net.IP) {
238238
if l == nil {
239239
return
@@ -380,7 +380,7 @@ func (l *Logger) NotifySpoofingStatus(nowEnabled bool) {
380380
}
381381
}
382382

383-
// Flush blocks until all log messages are printed. Flush does not nessarily
383+
// Flush blocks until all log messages are printed. Flush does not necessarily
384384
// flush the log file.
385385
func (l *Logger) Flush() {
386386
l.baseLogger.wg.Wait()

router_advertisement.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func sendRouterAdvertisement(c *ndp.Conn, receiver netip.Addr, stateless bool, r
149149

150150
// RecursiveDNSServer is supported by Windows 10 since the creators
151151
// update. Setting this option during advertisement and de-advertisement
152-
// prevents situations where the gateway is cleared but the rogoue DNS
152+
// prevents situations where the gateway is cleared but the rogue DNS
153153
// server persists and situations where the gateway is configured but
154154
// not the rogue DNS server. See line "RA Based DNS Config (RFC 6106)"
155155
// in `netsh int ipv6 sh int <interface number>`.

0 commit comments

Comments
 (0)