]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move local attributes to DEFINE
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2023 21:39:59 +0000 (16:39 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2023 21:55:13 +0000 (16:55 -0500)
raddb/dictionary

index e294ddb45c573cee4ee7be86c9efbdaa6d6506d0..3f9305d667d53ea559c9a63c1b32285bdf9f1c79 100644 (file)
 #  entries should be formatted.
 #
 #  All local attributes and `$INCLUDE` directives should
-#  go into this file.
+#  go into this files.
 #
-#  The numbers you pick should be between 3000 and 4000.
-#  These attributes will *not* go into a RADIUS packet.
+#  The attribute definitions here should use DEFINE, not ATTRIBUTE.
+#  The DEFINE keyword is exactly like ATTRIBUTE, except it does not
+#  require an attribute number.
+#
+#  As a result, there is no need to manually manage numbers.
+#
+#  Any attribute DEFINEd here will not go into a packet.
 #
 #  If you do want attributes to go into a RADIUS packet, you
 #  will need to use VSAs. This means requesting allocation
@@ -49,9 +54,9 @@
 #  required, or add your own.
 #
 
-#ATTRIBUTE     My-Local-String         3000    string
-#ATTRIBUTE     My-Local-IPAddr         3001    ipaddr
-#ATTRIBUTE     My-Local-Integer        3002    integer
+#DEFINE        My-Local-String         string
+#DEFINE        My-Local-IPAddr         ipaddr
+#DEFINE        My-Local-Integer        integer
 
 #
 #  ## v3 Compatible names.