Shane Kerr
06eb8bab55
Fix a number of warnings (and a few real bugs) found by enabling
...
gcc warnings.
See RT ticket #17013 for more.
2007-08-22 13:41:37 +00:00
Shane Kerr
28868515f6
Code cleanup to remove warnings from "gcc -Wall".
...
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
David Hankins
049833eee0
Do not try to sense the hardware address of the interface "fallback"
...
which we produce artificially.
2007-05-19 23:16:13 +00:00
David Hankins
fe5b0fdd70
- Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
...
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
4ba5891941
- DHCPv4 I/O methods that failed to sense hardware address were corrected.
...
[ISC-Bugs #16881 ]
- DHCPv4 is now the default (as documented) rather than DHCPv6. The default
was set to DHCPv6 to facilitate ease early development, and forgotten.
[ISC-Bugs #16881 ]
- Corrected a segmentation violation in DHCPv4 socket processing.
[ISC-Bugs #16881 ]
2007-05-18 17:21:46 +00:00
David Hankins
6705543f81
- Additional warnings and such from robie. [ISC-Bugs #16865d]
2007-05-17 18:27:11 +00:00
Shane Kerr
99fe695e1c
FreeBSD, NetBSD, OpenBSD support added in (again).
...
See RT ticket #16865 for more (still expect some warnings).
2007-05-16 22:27:35 +00:00
David Hankins
a512d11b6d
- Corrected some situations where variables might be used without being
...
initialized. [ISC-Bugs #16865 ]
- Silenced several other compiler warnings. [ISC-Bugs #16865 ]
- Include the more standard sys/uio.h rather than rely upon other header
files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865 ]
2007-05-11 15:50:18 +00:00
David Hankins
98bd7ca099
DHCPv6 branch merged to HEAD.
2007-05-08 23:05:22 +00:00
David Hankins
41e4506776
- DHCPD is now RFC2131 section 4.1 compliant (broadcast to all-ones ip and
...
ethernet mac address) on the SCO platform specifically without any strange
ifconfig hacks. Many thanks go to the Kroger Co. for donating the
hardware and funding the development. [V3-0-1-KROGER-WORK-BRANCH] - funded
development.
2006-07-25 17:41:18 +00:00
David Hankins
98311e4ba9
MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
...
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Murray
4089dd2111
Merge from branch: Don't print errors in fallback_discard().
2002-06-09 22:19:37 +00:00
Murray
5c1f23c421
Properly initialize sockaddr
...
Submitted by: Jun-ichiro itojun Hagino <itojun@iijlab.net>
RT #: 3040
2002-06-09 22:17:09 +00:00
Ted Lemon
a47105d60d
Fix Linux 2.0 fallback setup bug.
2000-09-30 01:24:55 +00:00
Ted Lemon
3782236d61
Fix if_deregister_send compilation on old linuces.
2000-09-12 20:23:54 +00:00
Ted Lemon
950c6a0699
Fix fallback interface setup code.
2000-09-11 17:39:14 +00:00
Ted Lemon
5cefe5e556
- Do what people expect when they don't declare the subnet to which an
...
interface is attached.
2000-09-01 23:03:39 +00:00
Ted Lemon
7eae478ed8
Make the "can't bind" error message more helpful.
2000-07-20 03:15:00 +00:00
Ted Lemon
3bd7d53fec
Don't use SO_USELOOPBACK
2000-05-03 23:05:37 +00:00
Ted Lemon
d92a27a77c
Allow a local address to be specified (so I can run two servers at once).
2000-05-01 23:31:49 +00:00
Ted Lemon
05af58984c
Replace a missing right brace that got deleted.
2000-04-06 23:56:01 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
7203e8eedf
Add interface deregistration routines (Brian Murrell).
2000-03-06 19:39:54 +00:00
Ted Lemon
d1f313b300
socklen_t -> SOCKLEN_T
2000-02-03 03:43:51 +00:00
Ted Lemon
cfdfb9f126
AIX and Digital Unix compatibility fixes.
2000-02-01 03:19:56 +00:00
Ted Lemon
e48c5c5cc1
Fix linux-specific casting error.
2000-01-02 22:21:23 +00:00
Ted Lemon
a1b705e544
Fix Linux compile.
1999-10-24 23:23:41 +00:00
Ted Lemon
deeef5295a
Cast unsigned to signed for Solaris.
1999-10-24 17:17:51 +00:00
Ted Lemon
2e96d6e73f
When registering the fallback interface, set rfdesc from wfdesc.
1999-09-23 01:15:25 +00:00
Ted Lemon
e92653f1ec
Bug fixes courtesy of Brian Murrell
1999-09-09 23:53:29 +00:00
Ted Lemon
acc2151278
Make interfaces OMAPI objects.
1999-09-08 01:44:08 +00:00
Ted Lemon
e15381fc4c
Compile fallback_discard based on USE_SOCKET_FALLBACK, not USE_SOCKET_SEND.
1999-05-27 14:18:27 +00:00
Ted Lemon
8d20719540
error -> log_fatal
1999-05-06 20:21:39 +00:00
Ted Lemon
c5b0f52958
Sanitize Solaris build.
1999-03-16 06:37:55 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
21d21e9172
Add interface argument to can_*().
1999-03-13 18:56:47 +00:00
Ted Lemon
b547818bbf
Add can_receive_unicast_unconfigured
1999-03-13 18:53:15 +00:00
Ted Lemon
74f45f9642
Sync with 2.0b1pl16. Fix some pool allocation problems.
1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
339b0231e4
Fix up mistakes in recent 2.0 pullups.
1999-02-14 19:40:22 +00:00
Ted Lemon
d2bc90bd80
Pull up recent 2.0 changes.
1999-02-14 19:04:05 +00:00
Ted Lemon
13ee152c43
Don't mention compiling with BPF if user has multiple interfaces - if it's not happening now, it probably doesn't work. Also, correct = vs == confusion that was causing packets to go out with bogus destination addresses.
1998-03-15 20:54:20 +00:00
Ted Lemon
3648a2a167
Don't print startup banner if quiet_interface_discovery is set
1997-10-20 21:47:15 +00:00
Ted Lemon
4595a58c25
size_t -> ssize_t in return values where < 0 == error
1997-06-08 03:18:09 +00:00
Ted Lemon
418102c6c8
to is pointer to struct, not struct
1997-03-29 03:19:02 +00:00
Ted Lemon
af361f2af5
Return the result of sends and receives
1997-03-29 01:26:08 +00:00
Ted Lemon
5145810cfd
Ignore EHOSTUNREACH and ECONNREFUSED errors on Linux (for now).
1997-03-29 00:06:07 +00:00
Ted Lemon
c01f128585
Adjust declaration of fallback_discard so that it can be a protocol handler
1997-03-06 06:55:53 +00:00
Ted Lemon
8d929f2fa2
Remove if_enable()
1997-02-26 05:20:53 +00:00
Ted Lemon
c358521715
Restructure to allow interface reinitialization
1997-02-19 10:51:44 +00:00