From 015a84d3000402651c50e513d7492900a2cc8ec1 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 9 Aug 2007 21:44:16 +0800 Subject: Change multicast protocol to allow for a resending flag Signed-off-by: David Woodhouse --- serve_image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'serve_image.c') diff --git a/serve_image.c b/serve_image.c index b016d63..b1875b1 100644 --- a/serve_image.c +++ b/serve_image.c @@ -111,6 +111,7 @@ int main(int argc, char **argv) nr_blocks = st.st_size / erasesize; + pktbuf.hdr.resend = 0; pktbuf.hdr.totcrc = htonl(crc32(-1, image, st.st_size)); pktbuf.hdr.nr_blocks = htonl(nr_blocks); pktbuf.hdr.blocksize = htonl(erasesize); -- cgit v1.2.3