I don't know about you guys, but:

1) I can recall last octet of an IP address more often than the first,
2) I have a lot of machines in the same /24 subnet.

diff --git a/kbfunc.c b/kbfunc.c
index 9bbf802..9f1fdb1 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -377,7 +377,7 @@ kbfunc_ssh(struct client_ctx *cc, union arg *arg)
        (void)fclose(fp);
 
        if ((mi = menu_filter(sc, &menuq, "ssh", NULL, 1, 0,
-           search_match_exec, NULL)) != NULL) {
+           search_match_text, NULL)) != NULL) {
                if (mi->text[0] == '\0')
                        goto out;
                l = snprintf(cmd, sizeof(cmd), "%s -e ssh %s", Conf.termpath,

Reply via email to