From be3421c352c1a16c8efaa95b3ee39b2ede24306f Mon Sep 17 00:00:00 2001 From: "Sudharsan D.G" Date: Fri, 8 Nov 2019 22:57:05 -0800 Subject: [PATCH] [docker-ptf]: Added python-libpcap for the updated arp responder (#3731) Added python-libpcap to be used by arp_responder.py utility. This is needed to set conf.use_pcap which will make sure that L2pcapListenSocket uses libpcap instead of Linux PF_PACKET sockets. By using libpcap the vlan field will not be removed when the application receives the packet. --- dockers/docker-ptf/Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/dockers/docker-ptf/Dockerfile.j2 b/dockers/docker-ptf/Dockerfile.j2 index 79c2802c0429..dcf67aeff5f9 100644 --- a/dockers/docker-ptf/Dockerfile.j2 +++ b/dockers/docker-ptf/Dockerfile.j2 @@ -53,6 +53,7 @@ RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' / tcpdump \ python \ python-dev \ + python-libpcap \ python-scapy \ python-six