Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/dhcp/common Don't terminate the loop after getting ...
details: https://anonhg.NetBSD.org/src/rev/4ed8c1d0e425
branches: trunk
changeset: 499722:4ed8c1d0e425
user: mycroft <mycroft%NetBSD.org@localhost>
date: Mon Nov 27 17:36:19 2000 +0000
description:
Don't terminate the loop after getting a short packet, either.
diffstat:
usr.sbin/dhcp/common/discover.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 5ca873887722 -r 4ed8c1d0e425 usr.sbin/dhcp/common/discover.c
--- a/usr.sbin/dhcp/common/discover.c Mon Nov 27 17:33:02 2000 +0000
+++ b/usr.sbin/dhcp/common/discover.c Mon Nov 27 17:36:19 2000 +0000
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: discover.c,v 1.9 2000/11/27 17:33:02 mycroft Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: discover.c,v 1.10 2000/11/27 17:36:19 mycroft Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -703,7 +703,7 @@
into the category of being forgiving. */
if (result <
DHCP_FIXED_NON_UDP - DHCP_SNAME_LEN - DHCP_FILE_LEN)
- return ISC_R_UNEXPECTED;
+ continue;
if (bootp_packet_handler) {
ifrom.len = 4;
Home |
Main Index |
Thread Index |
Old Index