]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3106] Network state constants further apart
authorMarcin Siodelski <marcin@isc.org>
Tue, 28 Nov 2023 12:41:46 +0000 (13:41 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 29 Nov 2023 19:58:56 +0000 (20:58 +0100)
doc/sphinx/arm/hooks-ha.rst
src/lib/dhcpsrv/network_state.h

index 8ad6433fe80956b51e3647361b1d7cd31bcad6cc..03fc63a77b8d5916c68607045a1f113a4b3728f4 100644 (file)
@@ -2411,7 +2411,7 @@ responding to clients.
        "command": "ha-sync-complete-notify",
        "service": [ "dhcp4" ],
        "arguments": {
-           "origin": 1100,
+           "origin": 2000,
            "server-name": "server2"
        }
    }
index b3d203ff084008e1cde5dc869f07ce18a68ae484..4a130692f904b2ea6822ab0dff4ba10857ccf927 100644 (file)
@@ -100,11 +100,11 @@ public:
     ///
     /// Specify HA service-specific origins by adding a unique remote service
     /// identifier to this constant.
-    static const unsigned int HA_REMOTE_COMMAND = 1100;
+    static const unsigned int HA_REMOTE_COMMAND = 2000;
 
     /// @brief The network state is being altered by the DB connection
     /// recovery mechanics.
-    static const unsigned int DB_CONNECTION = 2000;
+    static const unsigned int DB_CONNECTION = 3000;
 
     /// @brief Type of the container holding collection of subnet identifiers.
     typedef std::set<SubnetID> Subnets;