The below function is an IP scanner and returns a list of IP addresses and MAC addresses. I am trying to figure out how to filter out only MAC addresses that contains a specific vendor.
For example, I'm trying to filter the list to only capture IP/MAC that contains 'AA:BB:CC'.
Can anyone point me in the right direction?
def scan(ip):
    arp_packet = scapy.ARP(pdst=ip)
    broadcast_packet = scapy.Ether(dst="ff:ff:ff:ff:ff:ff")
    arp_broadcast_packet = broadcast_packet/arp_packet
    answered_list = scapy.srp(arp_broadcast_packet, timeout=1, verbose=False)[0]
    client_list = []
    for element in answered_list:
        client_dict = {"ip": element[1].psrc, "mac": element[1].hwsrc}
        client_list.append(client_dict)
    return client_list
 
     
    