Use long command in example and remove pointerlist

This commit is contained in:
Kristoffer Dalby 2021-11-04 22:18:06 +00:00
parent 9acc3e0e73
commit c2eb3f4d36

4
api.go
View File

@ -44,7 +44,7 @@ func (h *Headscale) RegisterWebAPI(c *gin.Context) {
<p> <p>
<code> <code>
<b>headscale -n NAMESPACE nodes register -k %s</b> <b>headscale -n NAMESPACE nodes register --key %s</b>
</code> </code>
</p> </p>
@ -306,7 +306,7 @@ func (h *Headscale) getMapResponse(mKey wgkey.Key, req tailcfg.MapRequest, m *Ma
Peers: nodePeers, Peers: nodePeers,
DNSConfig: dnsConfig, DNSConfig: dnsConfig,
Domain: h.cfg.BaseDomain, Domain: h.cfg.BaseDomain,
PacketFilter: *h.aclRules, PacketFilter: h.aclRules,
DERPMap: h.DERPMap, DERPMap: h.DERPMap,
UserProfiles: profiles, UserProfiles: profiles,
} }