Skip to content

Commit

Permalink
Restore functions lost in merge
Browse files Browse the repository at this point in the history
merge fu is weak tonight
  • Loading branch information
msantos committed Jun 22, 2011
1 parent 1ca6d02 commit 9d370ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tunctl_darwin.erl
Expand Up @@ -84,6 +84,9 @@ owner(_FD, _Owner) ->
group(__FD, _Group) ->
ok.

header(<<Proto:?UINT32, Buf/binary>>) ->
{tun_pi, 0, Proto, Buf}.


%%--------------------------------------------------------------------
%%% Internal functions
Expand Down
3 changes: 3 additions & 0 deletions src/tunctl_freebsd.erl
Expand Up @@ -89,6 +89,9 @@ owner(_FD, _Owner) ->
group(__FD, _Group) ->
ok.

header(<<Proto:?UINT32, Buf/binary>>) ->
{tun_pi, 0, Proto, Buf}.


%%--------------------------------------------------------------------
%%% Internal functions
Expand Down

0 comments on commit 9d370ce

Please sign in to comment.