Ticket #21225: patch-trigger.c.diff

File patch-trigger.c.diff, 647 bytes (added by hsivank@…, 15 years ago)
  • trigger.c

    old new  
    276276}
    277277       
    278278void
    279 trigger_ip(struct libnet_ip_hdr *ip)
     279trigger_ip(struct libnet_ipv4_hdr *ip)
    280280{
    281281        struct trigger *t, tr;
    282282        u_char *buf;
     
    305305
    306306/* libnids needs a nids_register_udp()... */
    307307void
    308 trigger_udp(struct libnet_ip_hdr *ip)
     308trigger_udp(struct libnet_ipv4_hdr *ip)
    309309{
    310310        struct trigger *t, tr;
    311311        struct libnet_udp_hdr *udp;
     
    437437}
    438438
    439439void
    440 trigger_tcp_raw(struct libnet_ip_hdr *ip)
     440trigger_tcp_raw(struct libnet_ipv4_hdr *ip)
    441441{
    442442        struct trigger *t, tr;
    443443        struct libnet_tcp_hdr *tcp;