Commit ff0f8a5c authored by Andreas Schneider's avatar Andreas Schneider

src: Rename to SOCKET_WRAPPER_DEBUGLEVEL.

parent 8db8c4ed
......@@ -16,3 +16,8 @@ SOCKET_WRAPPER_DEFAULT_IFACE
SOCKET_WRAPPER_PCAP_FILE
If set then all traffic will be written to the
specified pcap file.
SOCKET_WRAPPER_DEBUGLEVEL
If you socket_wrapper with with debug symbols
you can turn on logging by setting this to an
integer between 1 and 5.
......@@ -90,7 +90,7 @@ static void swrap_log(enum swrap_dbglvl_e dbglvl, const char *format, ...)
const char *d;
unsigned int lvl = 0;
d = getenv("SOCKET_WRAPPER_DBGLVL");
d = getenv("SOCKET_WRAPPER_DEBUGLEVEL");
if (d != NULL) {
lvl = atoi(d);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment