Hi everybody! I would like to know which is the proper method to get the string representation of the ipv4 address of an interface. I would appreciate very much something working like this:
struct interface *ifp=...assume that it really points to some interface... char addr[16]; get_ifaddress(ifp, addr); printf(%s\n, addr); I tried to take advantage from ifp->ipv4 but I am in trouble... please, can somebody help me? :) Thank you, Lorenzo
_______________________________________________ Babel-users mailing list Babel-users@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users