[Babel-users] Get interface address string

Juliusz Chroboczek jch at irif.fr
Wed Jun 7 17:11:46 UTC 2017


> 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



More information about the Babel-users mailing list