tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SO_TIMESTAMP vs ICMP6?



>> [...SO_TIMESTAMP...didn't work...]
> Looks like a trivial bug, also in -current.

> raw_ip.c:

>         if (last->inp_flags & INP_CONTROLOPTS ||
>             SOOPT_TIMESTAMP(last->inp_socket->so_options))
>                 ip_savecontrol(last, &opts, ip, n);

> raw_ip6.c:

>         if (last->inp_flags & IN6P_CONTROLOPTS)
>                 ip6_savecontrol(last, &opts, ip6, n);

Thank you; I missed that contrast!

Looks as though the patch in the PR is close to correct, then.
Correct, probably, for my versions, since SOOPT_TIMESTAMP is newer than
what I'm running, but for -current it just needs that conversion.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index