From 2b7aae7b1f73c3f91fa3cfdea352b37f73abdff9 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sat, 13 Jan 2018 20:07:29 +0100 Subject: [PATCH] balls --- Dockerfile | 5 ++--- packets/queue.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b299b8e..72fdc4b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,12 @@ FROM iron/go:dev MAINTAINER Simone Margaritelli ENV SRC_DIR=/gocode/src/github.com/evilsocket/bettercap-ng +COPY . $SRC_DIR + WORKDIR $SRC_DIR -ADD . $SRC_DIR RUN apk add --update ca-certificates RUN apk add --no-cache --update bash build-base libpcap-dev - -RUN cd $SRC_DIR RUN make deps RUN make diff --git a/packets/queue.go b/packets/queue.go index 83a286ec..731ddd2e 100644 --- a/packets/queue.go +++ b/packets/queue.go @@ -29,7 +29,7 @@ type Queue struct { handle *pcap.Handle source *gopacket.PacketSource lock *sync.Mutex - active bool `json:"-"` + active bool Activities chan Activity `json:"-"` Sent uint64