summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 4c05244..31ad820 100644
--- a/main.c
+++ b/main.c
@@ -122,6 +122,7 @@ void handlePacket(unsigned char *data, int data_len) {
int plen=0,result=0;
int rest = 0;
unsigned char *p = data;
+
plen = initPacket(odata, MT_PTYPE_ACK, srcmac, dstmac, sessionkey, pkthdr.counter + (data_len - 22));
result = sendUDP(odata, plen);