]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
start and last_send should really be time_t also.
authorRoy Marples <roy@marples.name>
Wed, 16 Jan 2008 13:40:42 +0000 (13:40 +0000)
committerRoy Marples <roy@marples.name>
Wed, 16 Jan 2008 13:40:42 +0000 (13:40 +0000)
client.c

index 7e382904f9f1b1864844dc5d8d30c4700d882396..11d6b2f990b7da96efbd40ad0f9c625f70373c03 100644 (file)
--- a/client.c
+++ b/client.c
@@ -258,8 +258,8 @@ int dhcp_run (const options_t *options, int *pidfd)
        int last_type = DHCP_DISCOVER;
        bool daemonised = options->daemonised;
        bool persistent = options->persistent;
-       long start = 0;
-       long last_send = 0;
+       time_t start = 0;
+       time_t last_send = 0;
        int sig;
        unsigned char *buffer = NULL;
        int buffer_len = 0;