summaryrefslogtreecommitdiff
path: root/common/socket.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-09-30 01:24:55 +0000
committerTed Lemon <source@isc.org>2000-09-30 01:24:55 +0000
commita47105d60d0157d52334478d4d1b0db13b6794df (patch)
tree0f02b45bf9e292da5583b4798709d4a5a2d92234 /common/socket.c
parent208d6314b392b0a2aea947a682f3c7a3630bdda3 (diff)
downloadisc-dhcp-a47105d60d0157d52334478d4d1b0db13b6794df.tar.gz
Fix Linux 2.0 fallback setup bug.
Diffstat (limited to 'common/socket.c')
-rw-r--r--common/socket.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/socket.c b/common/socket.c
index 9b55f675..16f048eb 100644
--- a/common/socket.c
+++ b/common/socket.c
@@ -51,7 +51,7 @@
#ifndef lint
static char copyright[] =
-"$Id: socket.c,v 1.54 2000/09/12 20:23:54 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: socket.c,v 1.55 2000/09/30 01:24:55 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -357,6 +357,13 @@ void maybe_setup_fallback ()
struct interface_info *fbi = (struct interface_info *)0;
if (setup_fallback (&fbi, MDL)) {
fbi -> wfdesc = if_register_socket (fbi);
+ fbi -> rfdesc = fbi -> wfdesc;
+ log_info ("Sending on Socket/%s%s%s",
+ fbi -> name,
+ (fbi -> shared_network ? "/" : ""),
+ (fbi -> shared_network ?
+ fbi -> shared_network -> name : ""));
+
status = omapi_register_io_object ((omapi_object_t *)fbi,
if_readsocket, 0,
fallback_discard, 0, 0);