diff options
author | obrien <obrien@FreeBSD.org> | 2000-06-26 08:06:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-06-26 08:06:22 +0000 |
commit | 188abf10cc1d39f9517f19d94881bd997bf5aa8f (patch) | |
tree | 816c55034ab47ac28bc0db5a0d9e263a5b516ee3 /contrib/isc-dhcp/common/raw.c | |
parent | ceecbe9d5e9f6710e3bb7396529fce457402dfd8 (diff) | |
parent | 8bf3d0eae63400031a65954b5b5f2f7c49757d1a (diff) | |
download | FreeBSD-src-188abf10cc1d39f9517f19d94881bd997bf5aa8f.zip FreeBSD-src-188abf10cc1d39f9517f19d94881bd997bf5aa8f.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r62104,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/isc-dhcp/common/raw.c')
-rw-r--r-- | contrib/isc-dhcp/common/raw.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/contrib/isc-dhcp/common/raw.c b/contrib/isc-dhcp/common/raw.c index 9274980..0ef9289 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 () { } |