It looks like the same/similar problem is in sys/net/if.c
struct ifaddr *
ifaof_ifpforaddr(struct sockaddr *addr, struct ifnet *ifp)
...
cp = addr->sa_data;
cp2 = ifa->ifa_addr->sa_data;
cp3 = ifa->ifa_netmask->sa_data;
Great! Thanks Qing. I'll come up with a patch and reply.
-Juan
On Mon, Apr 29, 2013 at 9:40 PM, Li, Qing wrote:
> The problem you described here seemed familiar so I checked into the svn
> history,
> and found I have in fact fixed this issue in other parts of the code.
>
> Please see
> http:
The problem you described here seemed familiar so I checked into the svn
history,
and found I have in fact fixed this issue in other parts of the code.
Please see
http://svnweb.freebsd.org/base?view=revision&revision=186708
So I think similar fix should be applied here as well.
--Qing
__