msantos / pkt

Erlang network protocol library
http://blog.listincomprehension.com/search/label/epcap
BSD 3-Clause "New" or "Revised" License
151 stars 44 forks source link

pkt.hrl contains Linux specific values #23

Closed 2b-as closed 9 years ago

2b-as commented 9 years ago

Values in pkt.hrl are hardcoded to their Linux values (e.g. -define(PF_INET6, 10)), but these values differ from OS to OS.

msantos commented 9 years ago

Thanks! I pushed a fix. I've left the value of PF_INET6 in the header for now. Nothing should be using it but I still need to check.