tech-net archive

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

Re: should rt_msg1() zero rt_msghdr?

In article <>,
J.T. Conklin <> wrote:
>While debugging a problem with routing socket messages, I noticed that
>messages contained random data in the rtm_seq, rtm_pid, and rtm_errno
>In TCP/IP Illustrated, rt_msg1() contains a bzero() to clear rt_msghdr
>fields.  This bzero() is not present in NetBSD-4 (which I am using) or
>in the -current sources.  
>Should a memset() be added where the bzero() used to be?
>    --jtc
>J.T. Conklin

Can you post a diff?


Home | Main Index | Thread Index | Old Index