diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-23 16:05:04 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-23 16:05:04 +0000 |
commit | e674c73ee62c79608dc986ca4eda4d8299f2e324 (patch) | |
tree | c14f9f6bc8a5d5ffb182db4966b154943830fef4 /svr-agentfwd.c | |
parent | 90f8c1fd51ac6af033d455a775dc5a1455d7d7cb (diff) | |
parent | bb84e33d99f5cbdb362940fc5eb7e4548df4cf23 (diff) |
propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee)
--HG--
branch : agent-client
extra : convert_revision : 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2
Diffstat (limited to 'svr-agentfwd.c')
-rw-r--r-- | svr-agentfwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-agentfwd.c b/svr-agentfwd.c index 87a1078..b86c447 100644 --- a/svr-agentfwd.c +++ b/svr-agentfwd.c @@ -181,7 +181,7 @@ void agentcleanup(struct ChanSess * chansess) { } -static const struct ChanType chan_agent = { +static const struct ChanType chan_svr_agent = { 0, /* sepfds */ "auth-agent@openssh.com", NULL, @@ -194,7 +194,7 @@ static const struct ChanType chan_agent = { /* helper for accepting an agent request */ static int send_msg_channel_open_agent(int fd) { - if (send_msg_channel_open_init(fd, &chan_agent) == DROPBEAR_SUCCESS) { + if (send_msg_channel_open_init(fd, &chan_svr_agent) == DROPBEAR_SUCCESS) { encrypt_packet(); return DROPBEAR_SUCCESS; } else { |