You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: redefining module PayloadType.Protocol.Udp (current version loaded from /app/_build/prod/lib/expcap/ebin/Elixir.PayloadType.Protocol.Udp.beam)
lib/my_app/path/to/file.ex:123
compile with mix release (1.9) would result error:
** (Mix) Duplicated modules:
'Elixir.PayloadType.Protocol.Udp' specified in my_app and expcap
I googled a little bit, it does not seem to have a general way to override an exist protocol implementation, e.g. this thread.
Thanks for the nice library! Any suggestion on this ?
The text was updated successfully, but these errors were encountered:
When I follow README instructions and try to override
PayloadType
forProtocol.Udp
like following:Above code will override exist protocol implementation, which results two issues:
I googled a little bit, it does not seem to have a general way to override an exist protocol implementation, e.g. this thread.
Thanks for the nice library! Any suggestion on this ?
The text was updated successfully, but these errors were encountered: