diff options
| author | Roy Marples <roy@marples.name> | 2008-09-15 15:23:46 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-15 15:23:46 +0000 |
| commit | a2a9a498da4327ecf2fdec8560bb9a3557490fa9 (patch) | |
| tree | 5d89cf7c1883f60b5151b188f9220e070e910efe /if-options.h | |
| parent | 78c8e969a552d0076faab4065ed627e5f14cb814 (diff) | |
| download | dhcpcd-a2a9a498da4327ecf2fdec8560bb9a3557490fa9.tar.xz | |
Reboot off the last lease and use the last lease if not expired and user has asked for it. Also, add a reboot timeout toggle (default 10 seconds).
Diffstat (limited to 'if-options.h')
| -rw-r--r-- | if-options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/if-options.h b/if-options.h index 0559eec0..80f788da 100644 --- a/if-options.h +++ b/if-options.h @@ -40,6 +40,7 @@ #define IF_OPTS "bc:df:h:i:kl:m:no:pqr:s:t:u:v:xz:ABC:DEF:GI:KLO:Q:TVX:Z:" #define DEFAULT_TIMEOUT 30 +#define DEFAULT_REBOOT 10 #define DEFAULT_LEASETIME 3600 /* 1 hour */ #define HOSTNAME_MAX_LEN 250 /* 255 - 3 (FQDN) - 2 (DNS enc) */ @@ -76,6 +77,7 @@ struct if_options { uint8_t nomask[256 / 8]; uint32_t leasetime; time_t timeout; + time_t reboot; int options; struct in_addr request_address; |
