Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Format of id in new session | Closing channel if host unreachable #123

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

vdaviot
Copy link
Contributor

@vdaviot vdaviot commented Mar 1, 2019

Hi @moul

This PR fixes a little problem on the display of newly created bastion session:

Jan 23 09:21:09 foosshportal1 c00617c0c9aa[1422]: 2019/01/23 08:21:09 New connection(bastion): sshUser="barfaz" remote="172.17.0.1:58570" local="172.17.0.3:2222" dbUser=id:'#',email:blabla@foobar.fr

Here dbUser appears as the # character from ASCII table, as his id is 35.
I changed the format from %q to %d to fix the problem.

Another things that is included is this commit is the fix discussed by @kreanda in #56
It was annoying to multiple people in the company and is imo a QOL improvement.

Do not hesitate to tell me if there's another way to do it :)

Thanks again for the great tool :) 💯

…oul#56 to permit the closing of channel in case of unreachable host

Signed-off-by: Valentin Daviot <valentin.daviot@alterway.fr>
@moul moul merged commit 7f32e38 into moul:master Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants