Hi Jukka,

Either use IFNAMSIZ or sizeof(ifr.ifr_name) but let's not mix both.
I would prefer sizeof(), that way you do not need to know how long the
buffer is suppose to be.

I agree

Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to