And copy the resulting field back when the client is created.
Makes dynamic clients consistent with static clients.
DUP_FIELD(nas_type);
COPY_FIELD(ipaddr);
+ COPY_FIELD(src_ipaddr);
COPY_FIELD(message_authenticator);
COPY_FIELD(use_connected);
value = vp->vp_strvalue;
break;
+ case FR_FREERADIUS_CLIENT_SRC_IP_ADDRESS:
+ attr = "src_ipaddr";
+ value = fr_inet_ntop(buffer, sizeof(buffer), &vp->vp_ip);
+ break;
+
case FR_FREERADIUS_CLIENT_REQUIRE_MA:
attr = "require_message_authenticator";
if (vp->vp_bool) {