Permalink
Browse files

Export default_mac for interface.

  • Loading branch information...
1 parent 305521c commit c29aa40d7c7eccde74fc22073b74ec638324b07f @archaelus committed Mar 10, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/enet_eth_iface.erl
View
4 src/enet_eth_iface.erl
@@ -17,6 +17,7 @@
-export([start_link/2
,start/2
,send/2
+ ,default_mac/0
]).
%% gen_server callbacks
@@ -50,6 +51,9 @@ send({?MODULE, Pid}, Data) ->
send(Pid, Data) when is_pid(Pid) ->
gen_server:cast(Pid, {send, Data}).
+default_mac() ->
+ ?DEFAULT_MAC.
+
%%====================================================================
%% gen_server callbacks
%%====================================================================

0 comments on commit c29aa40

Please sign in to comment.