Skip to content

Commit

Permalink
fix invalid interface public key (h44z#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
h44z committed Dec 16, 2021
1 parent e581b3a commit 5d4d06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/handlers_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (s *Server) GetPeerConfig(c *gin.Context) {
return
}

cfg, err := peer.GetConfigFile(s.peers.GetDevice(currentSession.DeviceName))
cfg, err := peer.GetConfigFile(s.peers.GetDevice(peer.DeviceName))
if err != nil {
s.GetHandleError(c, http.StatusInternalServerError, "ConfigFile error", err.Error())
return
Expand Down

0 comments on commit 5d4d06d

Please sign in to comment.