]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with
authorTed Lemon <source@isc.org>
Mon, 12 Jun 2000 20:12:13 +0000 (20:12 +0000)
committerTed Lemon <source@isc.org>
Mon, 12 Jun 2000 20:12:13 +0000 (20:12 +0000)
  queuing updates during communications_interrupted).

includes/dhcpd.h

index 362a6e845957f61864224828c68d4c041e7681fc..b6277c34ae91a0702e930d760b56466fbb450f23 100644 (file)
@@ -261,12 +261,12 @@ struct lease {
 
        u_int16_t flags;
 #       define STATIC_LEASE            1
-#      define PERSISTENT_FLAGS         (0)
+#      define PERSISTENT_FLAGS         (ON_ACK_QUEUE | ON_UPDATE_QUEUE)
 #      define MS_NULL_TERMINATION      8
 #      define ON_UPDATE_QUEUE          16
 #      define ON_ACK_QUEUE             32
-#      define EPHEMERAL_FLAGS          (MS_NULL_TERMINATION | \
-                                        ON_ACK_QUEUE | ON_UPDATE_QUEUE)
+#      define EPHEMERAL_FLAGS          (MS_NULL_TERMINATION)
+
        binding_state_t binding_state;  /* See failover.h, FTS_*. */
        binding_state_t next_binding_state;     /* See failover.h, FTS_*. */