Skip to content

Commit

Permalink
Fix "set ssh ?" not giving list of available completions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrg committed Oct 9, 2024
1 parent 475bdaa commit 064d5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kermit/k95/ckuus3.c
Original file line number Diff line number Diff line change
Expand Up @@ -8332,12 +8332,12 @@ dosetssh() {
sshtab[z].flgs = CM_INV;
}
else if ((sshtab[z].kwval == SSH_XFW && !ssh_feature_supported(SSH_FEAT_X11_FWD))
|| (sshtab[z].flgs = CM_INV && !ssh_feature_supported(SSH_FEAT_X11_XAUTH))) {
|| (sshtab[z].flgs == SSH_XAL && !ssh_feature_supported(SSH_FEAT_X11_XAUTH))) {
/*
* "set ssh x11-forwarding" and "set ssh xauth-location" commands.
*/
sshtab[z].flgs = CM_INV;
}
// sshtab[z].kwval == SSH_XAL
else if ((sshtab[z].kwval == SSH_DYF || sshtab[z].kwval == SSH_GWP)
&& !ssh_feature_supported(SSH_FEAT_DYN_PORT_FWD)) {
/* Dynamic Port Forwarding
Expand Down

0 comments on commit 064d5a8

Please sign in to comment.