Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 1a361ffa3cc37c87faf3457cf133708301c85a2b 1 parent fb9c8ed
Michael Santos authored

Showing 1 changed file with 0 additions and 8 deletions. Show diff stats Hide diff stats

  1. +0 8 src/tunctl_darwin.erl
8 src/tunctl_darwin.erl
@@ -52,14 +52,6 @@
52 52 %%--------------------------------------------------------------------
53 53 %%% Exports
54 54 %%--------------------------------------------------------------------
55   -
56   -%% Explicitly specify the device name: procket_cmd doesn't return
57   -%% the name of the device and will try each numbered device until
58   -%% it succeeds or no devices are left.
59   -%%
60   -%% As a consequence, if the caller specifies "tap1" and that is busy,
61   -%% they may accidentally open "tap11" (TODO: procket_cmd should have an
62   -%% option for exact name matches).
63 55 create(<<>>, Opt) ->
64 56 create(<<"tap0">>, Opt);
65 57

0 comments on commit 1a361ff

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