def discovery_print(pkt):
if pkt.src in mac_id_list:<EOL><INDENT>return<EOL><DEDENT>mac_id_list.append(pkt.src)<EOL>text = pkt_text(pkt)<EOL>click.secho(text, fg='<STR_LIT>') if '<STR_LIT>' in text else click.echo(text)<EOL>
Scandevice callback. Register src mac to avoid src repetition.
    Print device on screen.

    :param scapy.packet.Packet pkt: Scapy Packet
    :return: None