Parcourir la source

[1539] updated the comment about getDDNSSocketPath based on review comment.

so that it doesn't necessarily mean we'll get the path from a configuration.
JINMEI Tatuya il y a 13 ans
Parent
commit
634994e89a
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      src/bin/auth/common.h

+ 4 - 2
src/bin/auth/common.h

@@ -46,8 +46,10 @@ std::string getXfroutSocketPath();
 ///
 /// The logic should be the same as in b10-ddns, so they find each other.
 ///
-/// Note: eventually this should be retrieved from the ddns configuration,
-/// at which point this function should be deprecated.
+/// Note: eventually we should find a better way so that we don't have to
+/// repeat the same magic value (and how to tweak it with some magic
+/// environment variable) twice, at which point this function may be able
+/// to be deprecated.
 std::string getDDNSSocketPath();
 
 /// \brief The name used when identifieng the process