And update the ipaddr.raw test to match.
next, update the tests for attribute existence...
* If it has, parsing is the same as if the attribute
* name had been used instead of its OID.
*/
- attr.da = fr_dict_attr_child_by_num(((fr_dict_attr_t *)&attr.unknown.da)->parent,
- ((fr_dict_attr_t *)&attr.unknown.da)->attr);
+ attr.da = fr_dict_attr_by_name(NULL, a);
if (attr.da) {
vpt->auto_converted = true;
goto do_num;
update request {
Attr-4 = 0x010203
}
+
+#if (!&Attr-4) {
+if (0) {
+ update reply {
+ Filter-Id := "Cannot find newly added raw attribute"
+ }
+}
+else {
+ if (&Attr-4 != 0x010203) {
+ update reply {
+ Filter-Id := "Attr-4 is not 0x0120203"
+ }
+ }
+ else {
+ update reply {
+ Filter-Id := "filter"
+ }
+ }
+}
\ No newline at end of file