tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: should rt_msg1() zero rt_msghdr?
christos%zoulas.com@localhost (Christos Zoulas) writes:
> I think this is right. Should the same be done in rt_msg2()?
Unlike rt_msg1(), rt_msg2() is passed the struct that will be filled
in. I looked at all callers, and it appears that in each case it is
zeroed before rt_msg2() is called. So it while it wouldn't hurt, it
does not look like it's necessary.
--jtc
--
J.T. Conklin
Home |
Main Index |
Thread Index |
Old Index