Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle resource instances in Read, Write, and Observe. #435

Merged
merged 8 commits into from
Nov 20, 2020
Prev Previous commit
Next Next commit
Fix registration update clearing client binding.
Signed-off-by: Scott Bertin <sbertin@telular.com>
  • Loading branch information
sbertin-telular committed Nov 18, 2020
commit bd5b63244217e2b98897b29093e194c654d10c4f
3 changes: 3 additions & 0 deletions core/registration.c
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,9 @@ static int prv_getParameters(multi_option_t * query,
query = query->next;
}

/* Binding not specified. */
if (*bindingP == 0) *bindingP = BINDING_UNKNOWN;

if (*versionP == VERSION_1_0 &&
(*bindingP & (BINDING_T|BINDING_N)) != 0)
{
Expand Down