diff options
-rw-r--r-- | librpc/rpc/binding.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c index 4ee1c6260d..90787655bb 100644 --- a/librpc/rpc/binding.c +++ b/librpc/rpc/binding.c @@ -548,12 +548,17 @@ _PUBLIC_ NTSTATUS dcerpc_binding_set_transport(struct dcerpc_binding *b, * This implicitly resets the endpoint * as the endpoint is transport specific. * + * It also resets the assoc group as it's + * also endpoint specific. + * * TODO: in future we may reset more options * here. */ talloc_free(tmp); b->endpoint = NULL; + b->assoc_group_id = 0; + return NT_STATUS_OK; } |