control/controlclient: add TODO to delete the UAPI method

This commit is contained in:
Brad Fitzpatrick 2020-03-23 22:24:25 -07:00 committed by Brad Fitzpatrick
parent 7740cbd8d9
commit 64aff0db7b
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ func UFlagsHelper(uroutes, rroutes, droutes bool) int {
return uflags
}
// TODO(bradfitz): UAPI seems to only be used by the old confnode and
// pingnode; delete this when those are deleted/rewritten?
func (nm *NetworkMap) UAPI(uflags int, dnsOverride []wgcfg.IP) string {
wgcfg, err := nm.WGCfg(uflags, dnsOverride)
if err != nil {