summaryrefslogtreecommitdiff
path: root/common/nit.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-06-08 21:14:16 +0000
committerTed Lemon <source@isc.org>2000-06-08 21:14:16 +0000
commit68e1f67a18d9f0b2cf59e2ec8d29a2c998941b31 (patch)
tree2890fdd2a259013116bd99e8908dfbfb0099cc2f /common/nit.c
parent0baf2c4a68cffccd36260497d5d4fc29159c85d5 (diff)
downloadisc-dhcp-68e1f67a18d9f0b2cf59e2ec8d29a2c998941b31.tar.gz
- Fix a mistake that was causing the fallback interface not to be used (thanks
to Christof Chen for catching this!)
Diffstat (limited to 'common/nit.c')
-rw-r--r--common/nit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/nit.c b/common/nit.c
index 12b54287..569065f8 100644
--- a/common/nit.c
+++ b/common/nit.c
@@ -44,7 +44,7 @@
#ifndef lint
static char copyright[] =
-"$Id: nit.c,v 1.29 2000/05/16 23:02:24 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: nit.c,v 1.30 2000/06/08 21:14:15 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -419,6 +419,7 @@ void maybe_setup_fallback ()
if (status != ISC_R_SUCCESS)
log_fatal ("Can't register I/O handle for %s: %s",
fbi -> name, isc_result_totext (status));
+ interface_dereference (&fbi, MDL);
}
}
#endif