aboutsummaryrefslogtreecommitdiff
path: root/contrib/isc-dhcp/common/raw.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-06-26 08:06:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-06-26 08:06:22 +0000
commitee4f4a92db4ae44b88d19c3645502d159933b19b (patch)
treeec3f0e70f9b53e452616b0ada4af4616056c1884 /contrib/isc-dhcp/common/raw.c
parentf1b2a73d600a397664f7e0bb0759d114e4bd9338 (diff)
downloadsrc-ee4f4a92db4ae44b88d19c3645502d159933b19b.tar.gz
src-ee4f4a92db4ae44b88d19c3645502d159933b19b.zip
Import Patchlevel 1 of the ISC 2.0 dhcp client.
Notes
Notes: svn path=/vendor/isc-dhcp/dist/; revision=62104
Diffstat (limited to 'contrib/isc-dhcp/common/raw.c')
-rw-r--r--contrib/isc-dhcp/common/raw.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/contrib/isc-dhcp/common/raw.c b/contrib/isc-dhcp/common/raw.c
index 92749803dfc0..0ef9289537fe 100644
--- a/contrib/isc-dhcp/common/raw.c
+++ b/contrib/isc-dhcp/common/raw.c
@@ -54,7 +54,7 @@
#ifndef lint
static char copyright[] =
-"$Id: raw.c,v 1.11.2.3 1999/04/06 16:00:24 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: raw.c,v 1.11.2.4 1999/07/20 20:03:10 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -79,8 +79,14 @@ void if_register_send (info)
/* List addresses on which we're listening. */
if (!quiet_interface_discovery)
- note ("Sending on %s, port %d",
- piaddr (info -> address), htons (local_port));
+ note ("Sending on Raw Socket/%s/%s%s%s",
+ info -> name,
+ print_hw_addr (info -> hw_address.htype,
+ info -> hw_address.hlen,
+ info -> hw_address.haddr),
+ (info -> shared_network ? "/" : ""),
+ (info -> shared_network ?
+ info -> shared_network -> name : ""));
if ((sock = socket (AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0)
error ("Can't create dhcp socket: %m");
@@ -141,6 +147,12 @@ int can_unicast_without_arp ()
return 1;
}
+int can_receive_unicast_unconfigured (ip)
+ struct interface_info *ip;
+{
+ return 1;
+}
+
void maybe_setup_fallback ()
{
}