From e1d6f62d3e170a717e8fb223fa092bf19267b431 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 20 Dec 2015 11:43:23 +1100 Subject: [PATCH] Name ckpassthrough if no name is given --- src/ckpool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ckpool.c b/src/ckpool.c index fd539a7e..75ba27dc 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -1573,7 +1573,9 @@ int main(int argc, char **argv) } if (!ckp.name) { - if (ckp.proxy) + if (ckp.passthrough) + ckp.name = "ckpassthrough"; + else if (ckp.proxy) ckp.name = "ckproxy"; else ckp.name = "ckpool";