summaryrefslogtreecommitdiffhomepage
path: root/svr-agentfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-07-18 14:32:52 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-07-18 14:32:52 +0000
commite444f0cfe67c71d3f38854f27cefae9aea6c4cd9 (patch)
tree7539060f852ea180fe550525412f7345a464adba /svr-agentfwd.c
parentb8e28df43a1d37b5a50b34db357daea98c42a89c (diff)
- progress towards client agent forwarding
(incomplete and does not compile) --HG-- branch : agent-client extra : convert_revision : 01038174ec27245b51bd43a66c01ad930880f67b
Diffstat (limited to 'svr-agentfwd.c')
-rw-r--r--svr-agentfwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-agentfwd.c b/svr-agentfwd.c
index 5127158..f4909d5 100644
--- a/svr-agentfwd.c
+++ b/svr-agentfwd.c
@@ -176,7 +176,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,
@@ -189,7 +189,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 {