]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add can_receive_unicast_unconfigured
authorTed Lemon <source@isc.org>
Sat, 13 Mar 1999 18:53:15 +0000 (18:53 +0000)
committerTed Lemon <source@isc.org>
Sat, 13 Mar 1999 18:53:15 +0000 (18:53 +0000)
common/bpf.c
common/dlpi.c
common/lpf.c
common/nit.c
common/socket.c
common/upf.c

index 22f13f985f98d1cbc2a9ce29f79cb368b5e1d8f0..ef8244c4d29187715413bb6cf6d09ff95d594f0e 100644 (file)
@@ -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;
index 6ce626df793489de6261f0a446f2749568de0cd3..a32aca966f23daebed2f6d1ed95a56734a24c5df 100644 (file)
 
 #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;
index 9e37fa9c58c847e70029bfb4876c34062df1b4fd..dcaee002fe81755edabafe4712d540c6a0b6beb5 100644 (file)
@@ -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;
index 656a6181938090b8eb2eac60fb6ebe702701c153..ad89c93178cee9d097b41e28cdfd55b0ee68f699 100644 (file)
@@ -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;
index 891f33b306f59e7ba1a21201a3b4504fb5c02197..c556ebfb7be9a05a95022ca7de95addd88fc39f0 100644 (file)
@@ -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. */
 
index 71d9254b3119b543ee1250e8e19dec03aa09021b..7b6fbd5c35b5a6997244f0cba2fe9cf2316d98b9 100644 (file)
@@ -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;