]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dhcp-protocol: rename several dhcp message types
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 21 Mar 2026 16:55:22 +0000 (01:55 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Apr 2026 23:31:07 +0000 (08:31 +0900)
These are unused, hence we can freely rename them.

src/libsystemd-network/dhcp-protocol.h

index 7dccd585a80a9af27e7f51e5e54fba66744ff84b..10f9153aeb5ae4ec69b4739cc85f3d1ceebea1bd 100644 (file)
@@ -89,15 +89,15 @@ enum {
         DHCP_RELEASE                            = 7,  /* [RFC2132] */
         DHCP_INFORM                             = 8,  /* [RFC2132] */
         DHCP_FORCERENEW                         = 9,  /* [RFC3203] */
-        DHCPLEASEQUERY                          = 10, /* [RFC4388] */
-        DHCPLEASEUNASSIGNED                     = 11, /* [RFC4388] */
-        DHCPLEASEUNKNOWN                        = 12, /* [RFC4388] */
-        DHCPLEASEACTIVE                         = 13, /* [RFC4388] */
-        DHCPBULKLEASEQUERY                      = 14, /* [RFC6926] */
-        DHCPLEASEQUERYDONE                      = 15, /* [RFC6926] */
-        DHCPACTIVELEASEQUERY                    = 16, /* [RFC7724] */
-        DHCPLEASEQUERYSTATUS                    = 17, /* [RFC7724] */
-        DHCPTLS                                 = 18, /* [RFC7724] */
+        DHCP_LEASEQUERY                         = 10, /* [RFC4388] */
+        DHCP_LEASEUNASSIGNED                    = 11, /* [RFC4388] */
+        DHCP_LEASEUNKNOWN                       = 12, /* [RFC4388] */
+        DHCP_LEASEACTIVE                        = 13, /* [RFC4388] */
+        DHCP_BULKLEASEQUERY                     = 14, /* [RFC6926] */
+        DHCP_LEASEQUERYDONE                     = 15, /* [RFC6926] */
+        DHCP_ACTIVELEASEQUERY                   = 16, /* [RFC7724] */
+        DHCP_LEASEQUERYSTATUS                   = 17, /* [RFC7724] */
+        DHCP_TLS                                = 18, /* [RFC7724] */
 };
 
 typedef enum {