summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_rq.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-03-22 10:38:16 +0000
committerbp <bp@FreeBSD.org>2001-03-22 10:38:16 +0000
commit6d0dd9119c5e23240326fb7d9ceca42689c0ef36 (patch)
tree18a884675140a5b5d13d5eaab8f7f8f8f80dc968 /sys/netncp/ncp_rq.c
parent8da937dc1c3df023b9362ec91fdefe30b23c882b (diff)
downloadFreeBSD-src-6d0dd9119c5e23240326fb7d9ceca42689c0ef36.zip
FreeBSD-src-6d0dd9119c5e23240326fb7d9ceca42689c0ef36.tar.gz
Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay
empty for a while.
Diffstat (limited to 'sys/netncp/ncp_rq.c')
-rw-r--r--sys/netncp/ncp_rq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netncp/ncp_rq.c b/sys/netncp/ncp_rq.c
index 3745bef..123d208 100644
--- a/sys/netncp/ncp_rq.c
+++ b/sys/netncp/ncp_rq.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2000, 2001 Boris Popov
+ * Copyright (c) 1999-2001 Boris Popov
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -421,7 +421,7 @@ ncp_restore_login(struct ncp_conn *conn)
conn->flags |= NCPFL_RESTORING;
error = ncp_conn_reconnect(conn);
if (!error && (conn->flags & NCPFL_WASLOGGED))
- error = ncp_login_object(conn, conn->li.user, conn->li.objtype, conn->li.password,conn->procp,conn->ucred);
+ error = ncp_conn_login(conn, conn->procp, conn->ucred);
if (error)
ncp_ncp_disconnect(conn);
conn->flags &= ~NCPFL_RESTORING;
OpenPOWER on IntegriCloud