]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add enum prefix for DHCP Message-Type values
authorNick Porter <nick@portercomputing.co.uk>
Tue, 13 May 2025 14:19:51 +0000 (15:19 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 13 May 2025 14:19:51 +0000 (15:19 +0100)
raddb/sites-available/dhcp

index bc97abd58bd36f86b63f2e61534c2b1a3f443ff2..d725d252219d2fbb3dc9f59599a9138754af6a9d 100644 (file)
@@ -169,7 +169,7 @@ recv Discover {
        #  server will fall back to determining the type of reply
        #  based on the rcode of this section.
 
-#      reply.Message-Type = Offer
+#      reply.Message-Type = ::Offer
 
        #  If Message-Type is not set, returning "ok" or
        #  "updated" from this section will respond with a Offer
@@ -192,7 +192,7 @@ recv Request {
        }
 
        #  Response packet type. See Discover section above.
-#      reply.Message-Type = Ack
+#      reply.Message-Type = ::Ack
 
        #  Call a policy (defined in policy.d/dhcp) to set common reply attributes
        dhcp_common
@@ -296,7 +296,7 @@ recv Lease-Query {
                #  look up identifier in database
        }
        else {
-               reply.Message-Type = Lease-Unknown
+               reply.Message-Type = ::Lease-Unknown
 
                ok
 
@@ -309,7 +309,7 @@ recv Lease-Query {
        #  if it can't find anything.
        #
        if (notfound) {
-               reply.Message-Type = Lease-Unknown
+               reply.Message-Type = ::Lease-Unknown
 
                ok
 
@@ -335,7 +335,7 @@ recv Lease-Query {
        #       Lease-Active
        #       Lease-Unassigned
        #
-       reply.Message-Type = Lease-Unassigned
+       reply.Message-Type = ::Lease-Unassigned
 }
 
 }