msantos / epcap

Erlang packet capture interface using pcap
http://listincomprehension.com/2009/12/erlang-packet-sniffer-using-ei-and.html
BSD 3-Clause "New" or "Revised" License
178 stars 56 forks source link

Fix for application:start(epcap) #1

Closed ghaskins closed 13 years ago

ghaskins commented 13 years ago

./ebin/epcap.app has a reference to {mod, epcap_app} which doesn't actually exist (nor does it need to, since epcap acts as a library). However, if you try to start epcap as an application (which happens automatically if you include epcap as part of a release package, it will blow up with an {undef, epcap_app}. This patch fixes the problem. Please consider for merging

msantos commented 13 years ago

Thanks for the patch! Your explanation makes sense, I'm not sure why I added it (probably leftover from changing to rebar).