mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
[master] Add -df option to client code to help share DUIDs
Add the "-df <duid file>" option to the client code in order to make it easier to share DUIDs between a v4 instance and a v6 instance. This option instructs the client to search the duid file for a DUID if it didn't find one in the main lease file. In addition add the infrastructure for running ATF tests for the client and write some ATF tests for this patch.
This commit is contained in:
@@ -2746,6 +2746,7 @@ extern char *path_dhclient_script;
|
||||
extern int interfaces_requested;
|
||||
extern struct data_string default_duid;
|
||||
extern int duid_type;
|
||||
extern const char *path_dhclient_duid;
|
||||
|
||||
extern struct client_config top_level_config;
|
||||
|
||||
@@ -2920,6 +2921,7 @@ isc_result_t read_client_conf (void);
|
||||
int read_client_conf_file (const char *,
|
||||
struct interface_info *, struct client_config *);
|
||||
void read_client_leases (void);
|
||||
void read_client_duid (void);
|
||||
void parse_client_statement (struct parse *, struct interface_info *,
|
||||
struct client_config *);
|
||||
int parse_X (struct parse *, u_int8_t *, unsigned);
|
||||
|
Reference in New Issue
Block a user