diff options
Diffstat (limited to 'common/upf.c')
-rw-r--r-- | common/upf.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/common/upf.c b/common/upf.c index acbf56c8..d590cbfd 100644 --- a/common/upf.c +++ b/common/upf.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: upf.c,v 1.17 2000/03/17 03:59:02 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: upf.c,v 1.18 2000/05/16 23:02:31 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -356,12 +356,9 @@ int can_receive_unicast_unconfigured (ip) void maybe_setup_fallback () { isc_result_t status; - struct interface_info *fbi; - fbi = setup_fallback (); - if (fbi) { + struct interface_info *fbi = (struct interface_info *)0; + if (setup_fallback (&fbi, MDL)) { if_register_fallback (fbi); - fbi -> refcnt = 1; - fbi -> type = dhcp_type_interface; status = omapi_register_io_object ((omapi_object_t *)fbi, if_readsocket, 0, fallback_discard, 0, 0); |