> I tried to take advantage from ifp->ipv4 but I am in trouble... > please, can somebody help me? :) ifp->ipv4 is either NULL (in which case there is no IPv4 address on this interface), or a four-octet array of unsigned char which you can pass to inet_ntop(AF_INET). -- Juliusz