From 6adcaf16482fbca1ca8eeb80a2a7029d415c423f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 21 Feb 2017 16:22:07 +1300 Subject: [PATCH] s4-rpc_server: Correct comment about where the current iface can be found Signed-off-by: Andrew Bartlett Pair-Programmed-by: Gary Lockyer Signed-off-by: Gary Lockyer --- source4/rpc_server/dcerpc_server.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index f7ec2106b98..3663a2b4be4 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -939,9 +939,12 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call) } /* - * At this point we know which interface (eg netlogon, lsa, - * drsuapi) the caller requested. This is available on - * call->conntext->iface. + * At this point we still don't know which interface (eg + * netlogon, lsa, drsuapi) the caller requested in this bind! + * The most recently added context is available as the first + * element in the linked list at call->conn->contexts, that is + * call->conn->contexts->iface, but they may not have + * requested one at all! */ if ((call->pkt.pfc_flags & DCERPC_PFC_FLAG_CONC_MPX) && -- 2.11.4.GIT