Skip to content
Browse files

Remove comment: procket_cmd does match exactly

The behaviour of procket_cmd is: check if the device exists, if it
doesn't, search the numbered devices; otherwise return an error.
  • Loading branch information...
1 parent fb9c8ed commit 1a361ffa3cc37c87faf3457cf133708301c85a2b @msantos committed Jun 18, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/tunctl_darwin.erl
View
8 src/tunctl_darwin.erl
@@ -52,14 +52,6 @@
%%--------------------------------------------------------------------
%%% Exports
%%--------------------------------------------------------------------
-
-%% Explicitly specify the device name: procket_cmd doesn't return
-%% the name of the device and will try each numbered device until
-%% it succeeds or no devices are left.
-%%
-%% As a consequence, if the caller specifies "tap1" and that is busy,
-%% they may accidentally open "tap11" (TODO: procket_cmd should have an
-%% option for exact name matches).
create(<<>>, Opt) ->
create(<<"tap0">>, Opt);

0 comments on commit 1a361ff

Please sign in to comment.
Something went wrong with that request. Please try again.