1
0

patch-trigger_c 766 B

1234567891011121314151617181920212223242526272829
  1. --- dsniff-2.4.orig/trigger.c 2001-03-15 09:33:05.000000000 +0100
  2. +++ dsniff-2.4/trigger.c 2009-12-11 12:48:14.000000000 +0100
  3. @@ -276,7 +276,7 @@ trigger_dump(void)
  4. }
  5. void
  6. -trigger_ip(struct libnet_ip_hdr *ip)
  7. +trigger_ip(struct libnet_ipv4_hdr *ip)
  8. {
  9. struct trigger *t, tr;
  10. u_char *buf;
  11. @@ -305,7 +305,7 @@ trigger_ip(struct libnet_ip_hdr *ip)
  12. /* libnids needs a nids_register_udp()... */
  13. void
  14. -trigger_udp(struct libnet_ip_hdr *ip)
  15. +trigger_udp(struct libnet_ipv4_hdr *ip)
  16. {
  17. struct trigger *t, tr;
  18. struct libnet_udp_hdr *udp;
  19. @@ -437,7 +437,7 @@ trigger_tcp(struct tcp_stream *ts, void
  20. }
  21. void
  22. -trigger_tcp_raw(struct libnet_ip_hdr *ip)
  23. +trigger_tcp_raw(struct libnet_ipv4_hdr *ip)
  24. {
  25. struct trigger *t, tr;
  26. struct libnet_tcp_hdr *tcp;