Espinoza Guillermo 6 年之前
父节点
当前提交
4695639428
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;