Skip to content

Commit 61c2740

Browse files
authored
Fix typo in code: mutlicast -> multicast. (#219)
Small typo fix in the code which has no impact on the functioning of the package.
1 parent 63f3b3e commit 61c2740

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

conn.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ func Server(
160160
}
161161
}
162162

163-
mutlicastGroup4 := net.IPv4(224, 0, 0, 251)
164-
multicastGroupAddr4 := &net.UDPAddr{IP: mutlicastGroup4}
163+
multicastGroup4 := net.IPv4(224, 0, 0, 251)
164+
multicastGroupAddr4 := &net.UDPAddr{IP: multicastGroup4}
165165

166166
// FF02::FB
167-
mutlicastGroup6 := net.IP{0xff, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfb}
168-
multicastGroupAddr6 := &net.UDPAddr{IP: mutlicastGroup6}
167+
multicastGroup6 := net.IP{0xff, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfb}
168+
multicastGroupAddr6 := &net.UDPAddr{IP: multicastGroup6}
169169

170170
inboundBufferSize := 0
171171
joinErrCount := 0

0 commit comments

Comments
 (0)