#ifndef lint
static char copyright[] =
-"$Id: nit.c,v 1.33 2000/09/20 00:05:24 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: nit.c,v 1.34 2001/02/17 21:17:25 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
/* Start with the sockaddr struct... */
junk = (struct sockaddr *)&hh [0];
- hbufp = ((unsigned char *)&junk -> sa_data [0]) - &buf [0];
+ hbufp = (((unsigned char *)&junk -> sa_data [0]) -
+ (unsigned char *)&hh[0]);
ibufp = 0;
/* Assemble the headers... */