Projet

Général

Profil

« Précédent | Suivant » 

Révision 8135339c

Ajouté par Ermal il y a presque 10 ans

Add print icmp as part of Ticket #3663 and also avoid warnings during build

Voir les différences:

pfPorts/filterlog/files/print-ip6opts.c
295 295
int
296 296
hbhopt_print(struct sbuf *sbuf, register const u_char *bp)
297 297
{
298
    const struct ip6_hbh *dp = (struct ip6_hbh *)bp;
298
    const struct ip6_hbh *dp = (const struct ip6_hbh *)bp;
299 299
    int hbhlen = 0;
300 300

  
301 301
    hbhlen = (int)((dp->ip6h_len + 1) << 3);
......
308 308
int
309 309
dstopt_print(struct sbuf *sbuf, register const u_char *bp)
310 310
{
311
    const struct ip6_dest *dp = (struct ip6_dest *)bp;
311
    const struct ip6_dest *dp = (const struct ip6_dest *)bp;
312 312
    int dstoptlen = 0;
313 313

  
314 314
    dstoptlen = (int)((dp->ip6d_len + 1) << 3);

Formats disponibles : Unified diff