Ticket #21209: patch-src-protocols-ec_tcp.c.diff

File patch-src-protocols-ec_tcp.c.diff, 381 bytes (added by hsivank@…, 15 years ago)
  • src/protocols/ec_tcp.c

    old new  
    116116   tcp = (struct tcp_header *)DECODE_DATA;
    117117   
    118118   opt_start = (u_char *)(tcp + 1);
    119    opt_end = (u_char *)((int)tcp + tcp->off * 4);
     119   opt_end = (u_char *)(tcp + tcp->off * 4);
    120120
    121121   DECODED_LEN = (u_int32)(tcp->off * 4);
    122122