PW_TYPE_INTEGER64, //!< 64 Bit unsigned integer.
PW_TYPE_IPV4PREFIX, //!< IPv4 Prefix.
PW_TYPE_VSA, //!< Vendor-Specific, for attribute 26
+ PW_TYPE_TIMEVAL, //!< "struct timeval", only for config items
PW_TYPE_MAX //!< Number of defined data types.
} PW_TYPE;
case PW_TYPE_LONG_EXTENDED:
case PW_TYPE_EVS:
case PW_TYPE_VSA:
+ case PW_TYPE_TIMEVAL:
case PW_TYPE_MAX:
fr_strerror_printf("Cannot get data for VALUE_PAIR type %i", vp->da->type);
return -1;
/*
* None of the types below should be in the REQUEST
*/
+ case PW_TYPE_INVALID: /* We should never see these */
case PW_TYPE_COMBO_IP: /* This should of been converted into IPADDR/IPV6ADDR */
case PW_TYPE_TLV:
case PW_TYPE_EXTENDED:
case PW_TYPE_LONG_EXTENDED:
case PW_TYPE_EVS:
case PW_TYPE_VSA:
- case PW_TYPE_INVALID: /* We should never see these */
+ case PW_TYPE_TIMEVAL:
case PW_TYPE_MAX:
fr_assert(0); /* unknown type */
return -2;