Skip to content

Commit

Permalink
support for userauth_banner message
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Mar 9, 2023
1 parent ef3be89 commit c7bb2d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ let input_msg t msg now =
| Userauth_requested (Some pk), Msg_userauth_failure _ -> handle_pk_fail t pk
| Userauth_request _, Msg_userauth_success -> open_channel t
| Userauth_requested _, Msg_userauth_success -> open_channel t
| (Userauth_request _ | Userauth_requested _), Msg_userauth_banner (banner, lang) ->
Log.info (fun m -> m "userauth banner %s%s" banner
(if lang = "" then "" else " (lang " ^ lang ^ ")"));
Ok (t, [], [])
| Opening_channel us, Msg_channel_open_confirmation (oid, tid, win, max, data) ->
open_channel_success t us oid tid win max data
| _, Msg_global_request (_, want_reply, Unknown_request _) ->
Expand Down

0 comments on commit c7bb2d6

Please sign in to comment.