#ifndef lint
static char copyright[] =
-"$Id: bootp.c,v 1.50 1999/07/02 20:58:48 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: bootp.c,v 1.51 1999/07/06 17:07:12 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
}
/* Otherwise, broadcast it on the local network. */
} else {
- to.sin_addr.s_addr = INADDR_BROADCAST;
+ to.sin_addr = limited_broadcast;
to.sin_port = remote_port; /* XXX */
}
#ifndef lint
static char copyright[] =
-"$Id: dhcp.c,v 1.98 1999/07/02 20:58:48 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcp.c,v 1.99 1999/07/06 17:09:03 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
#endif
memset (to.sin_zero, 0, sizeof to.sin_zero);
- /* Use the IP address we intuited for the client. */
+ /* Use the IP address we derived for the client. */
memcpy (&to.sin_addr, cip.iabuf, 4);
to.sin_port = remote_port;
return;
}
} else {
- to.sin_addr.s_addr = htonl (INADDR_BROADCAST);
+ to.sin_addr = limited_broadcast;
to.sin_port = remote_port;
}
/* Otherwise, broadcast it on the local network. */
} else {
- to.sin_addr.s_addr = htonl (INADDR_BROADCAST);
+ to.sin_addr = limited_broadcast;
to.sin_port = remote_port;
}