From: Alan T. DeKok Date: Wed, 22 Feb 2023 21:39:59 +0000 (-0500) Subject: move local attributes to DEFINE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ef8e24340ced9981f44a1279050faaf25456216;p=thirdparty%2Ffreeradius-server.git move local attributes to DEFINE --- diff --git a/raddb/dictionary b/raddb/dictionary index e294ddb45c5..3f9305d667d 100644 --- a/raddb/dictionary +++ b/raddb/dictionary @@ -28,10 +28,15 @@ # 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.