curvetun: Added error reporting for mal-formed tcp/udp carrier types53/head
commit1bd7f9d46fdc2c560085fa902569f490b2f77271
authorScott Moeller <electronjoe@gmail.com>
Sun, 3 Mar 2013 02:47:11 +0000 (2 18:47 -0800)
committerScott Moeller <electronjoe@gmail.com>
Sun, 3 Mar 2013 02:47:11 +0000 (2 18:47 -0800)
tree28391634018459e04d7381928c663f25bb0990ff
parent790bf108f934383e1353b31b751d2ca3681e7d2a
curvetun: Added error reporting for mal-formed tcp/udp carrier types

I personally had mis-spelled udp (upd) and found myself diving into source
to determine why tcp was repeatedly being used instead of udp.

I'm uncertain whether the general lack of error checking and reporting
is intentional, or simply due to the very large task of getting the tools
up and running.

Further, if error checking is to be done on parameters and inputs, I'm
personally uneducated on the best method for reporting them.  I assumed
syslog(), as that is used frequently in setup/teardown messaging for
curvetun.  Is the inclusion of syslog.h reasonable here?
ct_servmgmt.c