aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkt.c b/src/pkt.c
index 339eb51..0dae386 100644
--- a/src/pkt.c
+++ b/src/pkt.c
@@ -241,6 +241,7 @@ void handle_packet(char *buf, unsigned bytes, int is_pcap, struct sockaddr_in *a
generate_response_md5(&challenge->plain, &challenge->digest);
}
+ memcpy(cur->buf, challenge, sizeof(challenge_t));
queue_packet(icmp_sock, cur, cur->buf, sizeof(challenge_t), 0, 0,
kProto_authenticate | cur->type_flag);
/* We have authenticated locally.