tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding ifam_pid to ifa_msghdr
In article <3585331.9LpqSETiX3%uberpc.marples.name@localhost>,
Roy Marples <roy%marples.name@localhost> wrote:
>Hi List!
>
>Unlike rtm_msghdr, ifam_msghdr has no idea of the identity of the process who
>added or deleted an address.
>
>This is important for processes which add/delete addresses while listening for
>3rd parties to add/delete addresses as well, so self generated messages can be
>ignored.
>
>Here is a simple patch which adds ifam_pid to ifa_msghdr so the identity of
>the sender is known.
>http://www.netbsd.org/~roy/ifam_pid.patch
>
>Unless anyone objects, I will add this soon.
If only it was that simple... See sys/compat/net/if.h how to do it properly.
christos
Home |
Main Index |
Thread Index |
Old Index