浏览代码

Implemented all(ipClass)

Stefan Schmidt 6 年之前
父节点
当前提交
3a47411059
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      code/Core/StatsDatabase.py

+ 2 - 1
code/Core/StatsDatabase.py

@@ -267,7 +267,8 @@ class StatsDatabase:
         "all.mss": "SELECT DISTINCT mssValue from tcp_mss ORDER BY mssValue ASC",
         "all.macaddress": "SELECT DISTINCT macAddress from ip_mac ORDER BY macAddress ASC",
         "all.portnumber": "SELECT DISTINCT portNumber from ip_ports ORDER BY portNumber ASC",
-        "all.protocolname": "SELECT DISTINCT protocolName from ip_protocols ORDER BY protocolName ASC"}
+        "all.protocolname": "SELECT DISTINCT protocolName from ip_protocols ORDER BY protocolName ASC",
+        "all.ipclass": "SELECT DISTINCT ipClass FROM ip_statistics ORDER BY ipClass ASC"}
 
     def _execute_query_list(self, query_list):
         """