summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/bpf.c7
-rw-r--r--common/dlpi.c7
-rw-r--r--common/lpf.c7
-rw-r--r--common/nit.c7
-rw-r--r--common/socket.c8
-rw-r--r--common/upf.c7
6 files changed, 37 insertions, 6 deletions
diff --git a/common/bpf.c b/common/bpf.c
index 22f13f98..ef8244c4 100644
--- a/common/bpf.c
+++ b/common/bpf.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: bpf.c,v 1.22 1999/02/25 23:30:33 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: bpf.c,v 1.23 1999/03/13 18:53:14 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -417,6 +417,11 @@ int can_unicast_without_arp ()
return 1;
}
+int can_receive_unicast_unconfigured ()
+{
+ return 1;
+}
+
void maybe_setup_fallback ()
{
struct interface_info *fbi;
diff --git a/common/dlpi.c b/common/dlpi.c
index 6ce626df..a32aca96 100644
--- a/common/dlpi.c
+++ b/common/dlpi.c
@@ -122,7 +122,7 @@
#ifndef lint
static char copyright[] =
-"$Id: dlpi.c,v 1.5 1999/02/25 23:30:34 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dlpi.c,v 1.6 1999/03/13 18:53:14 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
static int strioctl PROTO ((int fd, int cmd, int timeout, int len, char *dp));
@@ -1247,6 +1247,11 @@ int can_unicast_without_arp ()
return 1;
}
+int can_receive_unicast_unconfigured ()
+{
+ return 1;
+}
+
void maybe_setup_fallback ()
{
struct interface_info *fbi;
diff --git a/common/lpf.c b/common/lpf.c
index 9e37fa9c..dcaee002 100644
--- a/common/lpf.c
+++ b/common/lpf.c
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: lpf.c,v 1.4 1999/02/25 23:30:34 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: lpf.c,v 1.5 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -280,6 +280,11 @@ int can_unicast_without_arp ()
return 1;
}
+int can_receive_unicast_unconfigured ()
+{
+ return 1;
+}
+
void maybe_setup_fallback ()
{
struct interface_info *fbi;
diff --git a/common/nit.c b/common/nit.c
index 656a6181..ad89c931 100644
--- a/common/nit.c
+++ b/common/nit.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: nit.c,v 1.18 1999/02/25 23:30:35 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: nit.c,v 1.19 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -360,6 +360,11 @@ int can_unicast_without_arp ()
return 1;
}
+int can_receive_unicast_unconfigured ()
+{
+ return 1;
+}
+
void maybe_setup_fallback ()
{
struct interface_info *fbi;
diff --git a/common/socket.c b/common/socket.c
index 891f33b3..c556ebfb 100644
--- a/common/socket.c
+++ b/common/socket.c
@@ -50,7 +50,7 @@
#ifndef lint
static char copyright[] =
-"$Id: socket.c,v 1.31 1999/02/25 23:30:36 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: socket.c,v 1.32 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -269,6 +269,12 @@ int can_unicast_without_arp ()
return 0;
}
+/* On many stacks, we should return 1 here. */
+int can_receive_unicast_unconfigured ()
+{
+ return 0;
+}
+
/* If we have SO_BINDTODEVICE, set up a fallback interface; otherwise,
do not. */
diff --git a/common/upf.c b/common/upf.c
index 71d9254b..7b6fbd5c 100644
--- a/common/upf.c
+++ b/common/upf.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: upf.c,v 1.6 1999/02/25 23:30:36 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: upf.c,v 1.7 1999/03/13 18:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -311,6 +311,11 @@ int can_unicast_without_arp ()
return 1;
}
+int can_receive_unicast_unconfigured ()
+{
+ return 1;
+}
+
void maybe_setup_fallback ()
{
struct interface_info *fbi;