3
0
Prechádzať zdrojové kódy

Implemented all(ipClass)

Stefan Schmidt 6 rokov pred
rodič
commit
3a47411059
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  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):
         """