From: Ted Lemon Date: Sat, 29 Mar 1997 01:24:30 +0000 (+0000) Subject: ip -> client -> packet is a struct, not a pointer to a struct X-Git-Tag: DHCP-970328~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64bd49369077d4ef6ceb1fc74e5a919c32633340;p=thirdparty%2Fdhcp.git ip -> client -> packet is a struct, not a pointer to a struct --- diff --git a/client/dhclient.c b/client/dhclient.c index 1e9c92825..5c3dbe73f 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -56,7 +56,7 @@ #ifndef lint static char copyright[] = -"$Id: dhclient.c,v 1.34 1997/03/28 23:57:47 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.35 1997/03/29 01:24:30 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -900,9 +900,9 @@ void send_discover (ipp) /* Record the number of seconds since we started sending. */ if (interval < 255) - ip -> client -> packet -> secs = interval; + ip -> client -> packet.secs = interval; else - ip -> client -> packet -> secs = 255; + ip -> client -> packet.secs = 255; /* Send out a packet. */ result = send_packet (ip, (struct packet *)0, @@ -1114,9 +1114,9 @@ void send_request (ipp) /* Record the number of seconds since we started sending. */ if (interval < 255) - ip -> client -> packet -> secs = interval; + ip -> client -> packet.secs = interval; else - ip -> client -> packet -> secs = 255; + ip -> client -> packet.secs = 255; note ("DHCPREQUEST on %s to %s port %d", ip -> name, inet_ntoa (destination.sin_addr),