Skip to content
Snippets Groups Projects
Commit 6250fb25 authored by Martin Samuelsson's avatar Martin Samuelsson Committed by Michael Cardell Widerkrantz
Browse files

ntske: Correct variable name typo

parent c7cc4fa0
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ func (ke *KeyExchange) NTPServer(addr [][16]uint8) error {
func (ke *KeyExchange) NTPPort(port uint16) error {
var rec []uint16 // rectype, bodylen, body
rec = []uint16{rec_port, 2, port}
rec = []uint16{rec_ntpport, 2, port}
rec[0] = setBit(rec[0], 15)
return binary.Write(ke.buf, binary.BigEndian, rec)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment