Index: src/libct.c =================================================================== --- src/libct.c (revision 3881) +++ src/libct.c (working copy) @@ -462,6 +462,12 @@ struct list_head *i; struct ctproto_handler *cur = NULL, *handler = NULL; + /* This protocol has no handler, use generic and we are done */ + if (!name) { + handler = &generic_handler; + return handler; + } + list_for_each(i, &proto_list) { cur = (struct ctproto_handler *) i; if (strcmp(cur->name, name) == 0) {