]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We SHOULD be able to parse this as a raw attribute.
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 Jan 2017 22:33:39 +0000 (17:33 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Jan 2017 22:33:39 +0000 (17:33 -0500)
However, right now the code magically converts the LHS to
PW_TYPE_VENDOR_SPECIFIC.  And then gets a run-time error.

Instead, it should leave the LHS alone, and just create a raw
attribute.

src/tests/keywords/vendor_specific_raw [new file with mode: 0644]

diff --git a/src/tests/keywords/vendor_specific_raw b/src/tests/keywords/vendor_specific_raw
new file mode 100644 (file)
index 0000000..8ff2946
--- /dev/null
@@ -0,0 +1,8 @@
+#
+#  PRE: vendor_specific
+#
+#  Tests for Vendor-Specific 
+#
+update reply {
+       Attr-26 := 0x01020304
+}