Browse Source

Rename variables from KEA_{QUERY,RESPONSE}6_TEXT to KEA_{QUERY,RESPONSE}6_DEBUG

This makes it clearer that these variables are used for debug.
Baptiste Jonglez 7 years ago
parent
commit
5b6af3456d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/callouts.cc

+ 2 - 2
src/callouts.cc

@@ -47,7 +47,7 @@ void extract_query6(std::vector<std::string>& env, const Pkt6Ptr query)
     env.push_back("KEA_QUERY6_HWADDR=");
     env.push_back("KEA_QUERY6_HWADDR=");
     /* TODO: all options?  Only common ones?  Which format? */
     /* TODO: all options?  Only common ones?  Which format? */
     /* TODO */
     /* TODO */
-    env.push_back("KEA_QUERY6_TEXT=" + query->toText());
+    env.push_back("KEA_QUERY6_DEBUG=" + query->toText());
 }
 }
 
 
 void extract_response4(std::vector<std::string>& env, const Pkt4Ptr response)
 void extract_response4(std::vector<std::string>& env, const Pkt4Ptr response)
@@ -67,7 +67,7 @@ void extract_response6(std::vector<std::string>& env, const Pkt6Ptr response)
     env.push_back("KEA_RESPONSE6_PREFERRED_LIFETIME=");
     env.push_back("KEA_RESPONSE6_PREFERRED_LIFETIME=");
     env.push_back("KEA_RESPONSE6_VALID_LIFETIME=");
     env.push_back("KEA_RESPONSE6_VALID_LIFETIME=");
     /* TODO */
     /* TODO */
-    env.push_back("KEA_RESPONSE6_TEXT=" + response->toText());
+    env.push_back("KEA_RESPONSE6_DEBUG=" + response->toText());
 }
 }
 
 
 void extract_subnet4(std::vector<std::string>& env, const Subnet4Ptr subnet)
 void extract_subnet4(std::vector<std::string>& env, const Subnet4Ptr subnet)