[erlang-patches] Patch to fix compilation on OpenIndiana

Trond Norbye trond.norbye@REDACTED
Mon Apr 11 11:29:51 CEST 2011


inet_drv.c fails to compile on my system because I got SIOCGIFHWADDR defined, but I don't have the ifr_hwaddr member in the struct.

I do have an enaddr (containing the ethernet address, but I believe the "correct way" to read out the mac address on my openindiana box would be to use libdlpi (at least that's how ifconfig does it). 

https://github.com/trondn/otp/commit/6511458100bb8e1d890cdbd5ade04a931ebf9efd


Cheers,

Trond Norbye


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110411/1acf3f2f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-libdlpi-to-get-physical-address.patch.gz
Type: application/x-gzip
Size: 1462 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110411/1acf3f2f/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110411/1acf3f2f/attachment-0001.htm>


More information about the erlang-patches mailing list