5836891ac3e6bfb68dbe45589ac87e5ac02a2cfa,networkml/featurizers/funcs/host.py,HostBase,_tshark_both_private_ip,#HostBase#Any#,417

Before Change


                            break
            return {"tshark_both_private_ip": both_private}

        return self._host_rows(rows_f, first_not_both_private_ip)

    def _tshark_ipv4_multicast(self, rows_f):

        def first_ipv4_multicast(host_rows_f):

After Change


        }

    def _tshark_both_private_ip(self, mac_df):
        return {
            "tshark_both_private_ip": int(min(self._numericintset(mac_df["_both_private_ip"])) == 1)
        }

    def _tshark_ipv4_multicast(self, mac_df):
        return {
            "tshark_ipv4_multicast": int(max(self._numericintset(mac_df["_ipv4_multicast"])) == 1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: CyberReboot/NetworkML
Commit Name: 5836891ac3e6bfb68dbe45589ac87e5ac02a2cfa
Time: 2020-03-28
Author: josh@vandervecken.com
File Name: networkml/featurizers/funcs/host.py
Class Name: HostBase
Method Name: _tshark_both_private_ip


Project Name: CyberReboot/NetworkML
Commit Name: 5836891ac3e6bfb68dbe45589ac87e5ac02a2cfa
Time: 2020-03-28
Author: josh@vandervecken.com
File Name: networkml/featurizers/funcs/host.py
Class Name: HostBase
Method Name: _tshark_ipv4_multicast


Project Name: CyberReboot/NetworkML
Commit Name: 5836891ac3e6bfb68dbe45589ac87e5ac02a2cfa
Time: 2020-03-28
Author: josh@vandervecken.com
File Name: networkml/featurizers/funcs/host.py
Class Name: HostBase
Method Name: _tshark_vlan_id