* Message-Authenticator
*/
return;
+
+ } else if (((client->src_ipaddr.af == AF_INET) &&
+ (client->src_ipaddr.prefix != 32)) ||
+ ((client->src_ipaddr.af == AF_INET6) &&
+ (client->src_ipaddr.prefix != 128))) {
+ /*
+ * Don't change it from "auto" for wildcard clients.
+ */
+ return;
+
} else {
+
ERROR("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
ERROR("BlastRADIUS check: Received packet with Message-Authenticator.");
ERROR("Setting \"require_message_authenticator = true\" for client %s", client->shortname);
client->limit_proxy_state = FR_BOOL_FALSE;
+ } else if (((client->src_ipaddr.af == AF_INET) &&
+ (client->src_ipaddr.prefix != 32)) ||
+ ((client->src_ipaddr.af == AF_INET6) &&
+ (client->src_ipaddr.prefix != 128))) {
+ /*
+ * Don't change it from "auto" for wildcard clients.
+ */
+ return;
+
} else {
client->limit_proxy_state = FR_BOOL_TRUE;