&Tmp-String-0 += 'foo'
&Tmp-String-0 += 'bar'
&Tmp-String-1 += 'baz'
+
+ #
+ # @fixme - EDIT - There's already a list! WTF is going on here?
+ # this should be forbidden!
+ #
&control !* ANY
}
}
# Delete an attribute by assigning a non-existent attribute to it
+#
+# @fixme - EDIT - the new method is to simply omit the assignment
+#
update {
&Tmp-String-0[1] := &Reply-Message
}
# It's an error to assign literal values which are not
# part of the set of enumerated values for an attribute
#
+
+#
+# @fixme - EDIT - this is now a run-time error
+#
update {
&Service-Type := 'hello' # ERROR
}
# Reset the request list
update {
&request !* ANY
+
+ #
+ # @fixme - EDIT - &control[*] isn't supported, and is ignored. It should likely
+ # be a compile-time error?
+ #
&request += &control[*]
}
+#
+# @fixme - EDIT - all kinds of other things are broken, and no time currently to debug them.
+#
+
debug_request
#
#
# This is a string, so it's NOT allowed.
#
+ # @fixme - EDIT - the error is now on the first line
+ #
&Tmp-String-1 := {
Tmp-String-2 := "1.0" # ERROR
}
#
update {
&request := &reply
- &config += &request
+ &control += &request
&reply !* ANY
}
&reply += `/path/to/foo bar baz`
}
-
+#
+# @fixme - EDIT - this is now a run-time error :(
+#
update {
&request := nope # ERROR
}
&Tmp-String-0 += 'foo'
&Tmp-String-0 += 'bar'
&Tmp-String-1 += 'baz'
+
+ #
+ # @fixme - EDIT - how the heck did this ever work?
+ #
&control !* ANY
}
#
# NULL valued strings get converted to empty length strings
#
+# @fixme - EDIT - the new method is to simply omit the assignment
+#
update request {
&Tmp-String-0 := "%{Reply-Message}"
}
#
# NULL valued octet strings get converted to zero length octets strings?!
#
+# @fixme - EDIT - the new method is to simply omit the assignment
+#
update request {
&Tmp-Octets-0 := "%{Reply-Message}"
}
debug_request
+#
+# @fixme - EDIT - we should not be allowed to remove by both
+# index AND value. Or, we should... and the edit code needs
+# to be updated.
+#
update request {
&Tmp-IP-Address-0[3] -= 192.0.2.2
}