mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-14 13:51:01 +02:00
Bugfix
This commit is contained in:
parent
ae30020b22
commit
7610e8c398
@ -220,7 +220,7 @@ func (ns *noiseServer) NoisePollNetMapHandler(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ns.nodeKey != mapRequest.NodeKey {
|
if node.NodeKey != mapRequest.NodeKey {
|
||||||
httpError(writer, NewHTTPError(http.StatusNotFound, "node does not belong to machine key", nil))
|
httpError(writer, NewHTTPError(http.StatusNotFound, "node does not belong to machine key", nil))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user