Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- kafka_ip_address = socket.gethostbyname(KAFKA_IP)
- disp_filter = f"(ip.src=={MY_IP} or ip.dst=={MY_IP}) and (ip.src!={kafka_ip_address}) and (ip.dst!={kafka_ip_address})"
- except Exception as e:
- disp_filter = f"(ip.src=={MY_IP} or ip.dst=={MY_IP})"
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement