From: Arran Cudbard-Bell Date: Wed, 3 Nov 2021 19:11:15 +0000 (-0400) Subject: Don't process the next state if we can't find the required fields X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b4610e721723b4858d059668aa4471fa885e1bb;p=thirdparty%2Ffreeradius-server.git Don't process the next state if we can't find the required fields --- diff --git a/src/process/dhcpv6/base.c b/src/process/dhcpv6/base.c index b4f69475b64..06dc6e8b29b 100644 --- a/src/process/dhcpv6/base.c +++ b/src/process/dhcpv6/base.c @@ -431,7 +431,7 @@ RECV(from_relay) process_dhcpv6_relay_fields_t *rctx = NULL; rctx = dhcpv6_relay_fields_store(request); - if (!rctx) *p_result = RLM_MODULE_INVALID; + if (!rctx) RETURN_MODULE_INVALID; UPDATE_STATE_CS(packet);