summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
39f2e20)
The aux field was left uninitialized. This didn't cause any harm, but
was caught by valgrind.
hdr.ack = c->rcv.nxt;
hdr.wnd = 0;
hdr.ctl = RST;
hdr.ack = c->rcv.nxt;
hdr.wnd = 0;
hdr.ctl = RST;
print_packet(c, "send", &hdr, sizeof(hdr));
c->utcp->send(c->utcp, &hdr, sizeof(hdr));
print_packet(c, "send", &hdr, sizeof(hdr));
c->utcp->send(c->utcp, &hdr, sizeof(hdr));