From: Ted Lemon Date: Mon, 12 Jun 2000 20:12:13 +0000 (+0000) Subject: - Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with X-Git-Tag: V3-BETA-2-PATCH-1~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aac4312013c6245e52333191c50c3468d27b907;p=thirdparty%2Fdhcp.git - Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with queuing updates during communications_interrupted). --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 362a6e845..b6277c34a 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -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_*. */