Espinoza Guillermo před 6 roky
rodič
revize
4695639428
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      hooks/mysql/src/callouts.cc

+ 2 - 2
hooks/mysql/src/callouts.cc

@@ -144,9 +144,9 @@ int pkt4_receive(CalloutHandle& handle)
     HostType ht = getHostType(query);
 	
     list_class.push_back(HostClass[ht]);
-    std::map<std::string,std::string>::iterator it = cm_map.find(mac);
+    std::map<std::string,std::string>::iterator it = cm_map.find(MAC);
     if (it != cm_map.end()) {
-        list_class.push_back(cm_map[mac]);
+        list_class.push_back(cm_map[MAC]);
     }
 
     std::string me, me2;