On Wed, Sep 13, 2000 at 05:36:05PM -0700, John Polstra wrote:
> About the best fix I can think of (and it's not very good) is to
> change <netinet/in.h> so the structure is declared like this:
>
> struct ip_opts {
> struct in_addr ip_dst; /* first hop, 0 w/o src rt */
> #ifdef __cplusplus
> char ip_optbuf[40]; /* actually variable in size */
> #else
> char ip_opts[40]; /* actually variable in size */
> #endif
> };
>
> This shouldn't break any C++ code, since it already wouldn't compile
> anyway. :-)
Please see PR bin/13383 before doing anything like this. It addresses
a similar situation. I'll comment more tomorrow after some sleep :-)
--
Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message