]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
18 years agoFix compile on NOMMU systems.
Roy Marples [Thu, 21 Feb 2008 07:45:02 +0000 (07:45 +0000)] 
Fix compile on NOMMU systems.

18 years agoBail out of sys/queue.h lacks STAILQ
Roy Marples [Wed, 20 Feb 2008 19:09:30 +0000 (19:09 +0000)] 
Bail out of sys/queue.h lacks STAILQ

18 years agoSupport the PCC compiler.
Roy Marples [Wed, 20 Feb 2008 17:49:51 +0000 (17:49 +0000)] 
Support the PCC compiler.

18 years agoQuickly fix a valgrind error.
Roy Marples [Wed, 20 Feb 2008 17:13:12 +0000 (17:13 +0000)] 
Quickly fix a valgrind error.

18 years agoRelease dhcpcd-3.2.2
Roy Marples [Wed, 20 Feb 2008 17:09:14 +0000 (17:09 +0000)] 
Release dhcpcd-3.2.2

18 years agoUse tailq from queue.h instead of rolling our down linked lists.
Roy Marples [Wed, 20 Feb 2008 17:04:56 +0000 (17:04 +0000)] 
Use tailq from queue.h instead of rolling our down linked lists.

18 years agoAdd a comment about older linux headers and -std=c99.
Roy Marples [Wed, 20 Feb 2008 12:15:13 +0000 (12:15 +0000)] 
Add a comment about older linux headers and -std=c99.

18 years agoDon't include -pipe by default.
Roy Marples [Wed, 20 Feb 2008 10:35:12 +0000 (10:35 +0000)] 
Don't include -pipe by default.

18 years agoTest each CC flag we want to set so we will work on other compilers such as pcc when...
Roy Marples [Wed, 20 Feb 2008 10:12:40 +0000 (10:12 +0000)] 
Test each CC flag we want to set so we will work on other compilers such as pcc when it matures a little.

18 years agoTypo.
Roy Marples [Tue, 19 Feb 2008 18:31:37 +0000 (18:31 +0000)] 
Typo.

18 years agoRemove hardcoded defines for linux and add a nasty hackaround for glibc.
Roy Marples [Tue, 19 Feb 2008 18:30:16 +0000 (18:30 +0000)] 
Remove hardcoded defines for linux and add a nasty hackaround for glibc.

18 years agoFix compile.
Roy Marples [Tue, 19 Feb 2008 17:43:39 +0000 (17:43 +0000)] 
Fix compile.

18 years agoLinux-2.6.23 finally supports -std=c99 for asm/types.h, included by headers we include.
Roy Marples [Tue, 19 Feb 2008 17:35:31 +0000 (17:35 +0000)] 
Linux-2.6.23 finally supports -std=c99 for asm/types.h, included by headers we include.

18 years agoAdd comments about interupts and stop polling for events we ignore.
Roy Marples [Tue, 19 Feb 2008 09:57:27 +0000 (09:57 +0000)] 
Add comments about interupts and stop polling for events we ignore.

18 years agoWhen polling and interupted, continue as the signal will then be in our pipe.
Roy Marples [Mon, 11 Feb 2008 21:43:34 +0000 (21:43 +0000)] 
When polling and interupted, continue as the signal will then be in our pipe.

18 years agoFix compile warning for new netlink callback header.
Roy Marples [Mon, 11 Feb 2008 21:42:53 +0000 (21:42 +0000)] 
Fix compile warning for new netlink callback header.

18 years agoFix poll timeout.
Roy Marples [Sun, 10 Feb 2008 23:40:24 +0000 (23:40 +0000)] 
Fix poll timeout.

18 years agoFix compile on NetBSD.
Roy Marples [Sun, 10 Feb 2008 23:30:08 +0000 (23:30 +0000)] 
Fix compile on NetBSD.

18 years agoJust warn when running as non root.
Roy Marples [Sun, 10 Feb 2008 23:08:34 +0000 (23:08 +0000)] 
Just warn when running as non root.

18 years agoReplace select with poll and nanosleep.
Roy Marples [Sun, 10 Feb 2008 23:01:44 +0000 (23:01 +0000)] 
Replace select with poll and nanosleep.

18 years agoWe should only have one bit of code to mark sockets close_on_exec.
Roy Marples [Sat, 9 Feb 2008 21:58:05 +0000 (21:58 +0000)] 
We should only have one bit of code to mark sockets close_on_exec.

18 years agoRename getline to get_line so we don't conflict with crappy GNU headers that wrongly...
Roy Marples [Wed, 6 Feb 2008 10:18:03 +0000 (10:18 +0000)] 
Rename getline to get_line so we don't conflict with crappy GNU headers that wrongly expose getline when _GNU_SOURCE isn't set. Bug #17.

18 years agoAllow hardware type to be specified in the ClientID. This is needed, as the ethernet...
Roy Marples [Tue, 5 Feb 2008 21:38:00 +0000 (21:38 +0000)] 
Allow hardware type to be specified in the ClientID. This is needed, as the ethernet length matches other lengths.

18 years agoWe should block and reset our signals when daemonising also.
Roy Marples [Sun, 3 Feb 2008 22:35:48 +0000 (22:35 +0000)] 
We should block and reset our signals when daemonising also.

18 years agoRevert posix_spawn as it seems only glibc supports it for us right now. Hope that...
Roy Marples [Sat, 2 Feb 2008 21:56:12 +0000 (21:56 +0000)] 
Revert posix_spawn as it seems only glibc supports it for us right now. Hope that libc is tolerant to changing signals inside a vfork if we put them back afterwards in the parent.

18 years agoBlock signals to avoid potential signal racing on BSD using fork.
Roy Marples [Sat, 2 Feb 2008 19:17:08 +0000 (19:17 +0000)] 
Block signals to avoid potential signal racing on BSD using fork.

18 years agoOf course, BSD systems don't have posix_spawn yet :/
Roy Marples [Sat, 2 Feb 2008 18:08:49 +0000 (18:08 +0000)] 
Of course, BSD systems don't have posix_spawn yet :/

18 years agoUse posix_spawn instead of vfork to avoid signal races.
Roy Marples [Sat, 2 Feb 2008 17:28:22 +0000 (17:28 +0000)] 
Use posix_spawn instead of vfork to avoid signal races.

18 years agoFix adding routes on BSD.
Roy Marples [Thu, 31 Jan 2008 14:18:30 +0000 (14:18 +0000)] 
Fix adding routes on BSD.

18 years agoMove clientid generation to client.c and put it on the interface object inplace of...
Roy Marples [Thu, 31 Jan 2008 11:19:17 +0000 (11:19 +0000)] 
Move clientid generation to client.c and put it on the interface object inplace of duid. Always save the ClientID as a hex string. This reduces our binary size.

18 years agoSpecify install modes for all our files.
Roy Marples [Wed, 30 Jan 2008 10:08:59 +0000 (10:08 +0000)] 
Specify install modes for all our files.

18 years agoBPF documentation says use +, so lets do that.
Roy Marples [Wed, 30 Jan 2008 09:42:20 +0000 (09:42 +0000)] 
BPF documentation says use +, so lets do that.

18 years agoRelease dhcpcd-3.2.1
Roy Marples [Tue, 29 Jan 2008 11:26:24 +0000 (11:26 +0000)] 
Release dhcpcd-3.2.1

18 years agoUpdate comment style.
Roy Marples [Tue, 29 Jan 2008 11:20:55 +0000 (11:20 +0000)] 
Update comment style.

18 years agoRe add the code to re-send message now - last time sent >= TIMOUT_MINI just incase.
Roy Marples [Tue, 29 Jan 2008 11:12:59 +0000 (11:12 +0000)] 
Re add the code to re-send message now - last time sent >= TIMOUT_MINI just incase.

18 years agoBetter to use the size of the packet.
Roy Marples [Tue, 29 Jan 2008 10:53:59 +0000 (10:53 +0000)] 
Better to use the size of the packet.

18 years agoMan page updates.
Roy Marples [Tue, 29 Jan 2008 10:46:54 +0000 (10:46 +0000)] 
Man page updates.

18 years agoUse sizeof with the variable, not the declaration more.
Roy Marples [Mon, 28 Jan 2008 17:47:54 +0000 (17:47 +0000)] 
Use sizeof with the variable, not the declaration more.

18 years agoUse sizeof with the variable, not the declaration.
Roy Marples [Mon, 28 Jan 2008 16:32:04 +0000 (16:32 +0000)] 
Use sizeof with the variable, not the declaration.

18 years agoIntroduce xzalloc, which zeros memory as well as allocates it. This makes us smaller.
Roy Marples [Mon, 28 Jan 2008 15:32:04 +0000 (15:32 +0000)] 
Introduce xzalloc, which zeros memory as well as allocates it. This makes us smaller.

18 years agoMan page updates.
Roy Marples [Mon, 28 Jan 2008 14:33:46 +0000 (14:33 +0000)] 
Man page updates.

18 years agoStyle
Roy Marples [Mon, 28 Jan 2008 14:29:54 +0000 (14:29 +0000)] 
Style

18 years agoWe shouldn't need to re-send this message now as our timeout and signal interupt...
Roy Marples [Mon, 28 Jan 2008 14:17:46 +0000 (14:17 +0000)] 
We shouldn't need to re-send this message now as our timeout and signal interupt code is a lot more robust plus we now use LPF. We can always add it back if we need to.

18 years agoWe should zero the sa structure before use.
Roy Marples [Sun, 27 Jan 2008 19:49:32 +0000 (19:49 +0000)] 
We should zero the sa structure before use.

18 years agoFix compile on NetBSD
Roy Marples [Sun, 27 Jan 2008 19:48:32 +0000 (19:48 +0000)] 
Fix compile on NetBSD

18 years agoUse sigaction over signal and check iface and state before freeing
Roy Marples [Sun, 27 Jan 2008 18:39:31 +0000 (18:39 +0000)] 
Use sigaction over signal and check iface and state before freeing

18 years agoLinux has LPF, which is almost like BPF. Let's use and let the kernel filter out...
Roy Marples [Sun, 27 Jan 2008 11:31:01 +0000 (11:31 +0000)] 
Linux has LPF, which is almost like BPF. Let's use and let the kernel filter out what we don't need.

18 years agocast to int for isxdigit
Roy Marples [Sat, 26 Jan 2008 10:40:53 +0000 (10:40 +0000)] 
cast to int for isxdigit

18 years agoAdd NETWORK= to dhcpcd-.info, bug #10
Roy Marples [Fri, 25 Jan 2008 19:35:45 +0000 (19:35 +0000)] 
Add NETWORK= to dhcpcd-.info, bug #10

18 years agoFix ntpd.conf
Roy Marples [Fri, 25 Jan 2008 11:02:52 +0000 (11:02 +0000)] 
Fix ntpd.conf

18 years agoRelease dhcpcd-3.2.0
Roy Marples [Fri, 25 Jan 2008 10:53:43 +0000 (10:53 +0000)] 
Release dhcpcd-3.2.0

18 years agoStore and validate the duid using our generic hwaddr_ calls
Roy Marples [Fri, 25 Jan 2008 10:18:13 +0000 (10:18 +0000)] 
Store and validate the duid using our generic hwaddr_ calls

18 years agoIf ClientID matches a hardware address formart, encode it as such.
Roy Marples [Fri, 25 Jan 2008 09:52:58 +0000 (09:52 +0000)] 
If ClientID matches a hardware address formart, encode it as such.

18 years agoDon't use const const here - doh.
Roy Marples [Thu, 24 Jan 2008 16:49:17 +0000 (16:49 +0000)] 
Don't use const const here - doh.

18 years agoDHCP over Infiniband requires a fudged broadcast address.
Roy Marples [Thu, 24 Jan 2008 15:01:19 +0000 (15:01 +0000)] 
DHCP over Infiniband requires a fudged broadcast address.

18 years agoBump version and fix infiniband number.
Roy Marples [Thu, 24 Jan 2008 11:14:18 +0000 (11:14 +0000)] 
Bump version and fix infiniband number.

18 years agorenewing a lease should not cause dhcpcd to exit.
Roy Marples [Tue, 22 Jan 2008 16:54:38 +0000 (16:54 +0000)] 
renewing a lease should not cause dhcpcd to exit.

18 years agoZero the rset when we fallthrough the waiting for packet.
Roy Marples [Mon, 21 Jan 2008 22:04:43 +0000 (22:04 +0000)] 
Zero the rset when we fallthrough the waiting for packet.

18 years agoFix compile on Linux where.
Roy Marples [Mon, 21 Jan 2008 21:52:20 +0000 (21:52 +0000)] 
Fix compile on Linux where.

18 years agoQuiet some lint warnings.
Roy Marples [Mon, 21 Jan 2008 21:19:53 +0000 (21:19 +0000)] 
Quiet some lint warnings.

18 years agoPrefer for (;;) over while (1)
Roy Marples [Mon, 21 Jan 2008 16:08:42 +0000 (16:08 +0000)] 
Prefer for (;;) over while (1)

18 years agoRe-factor our state engine, splitting out the massive switch block into smaller funct...
Roy Marples [Mon, 21 Jan 2008 15:13:59 +0000 (15:13 +0000)] 
Re-factor our state engine, splitting out the massive switch block into smaller functions. Hopefully I've not introduced any bugs as it seems to work fine.

18 years agoDon't raise signals on child exits.
Roy Marples [Mon, 21 Jan 2008 15:12:51 +0000 (15:12 +0000)] 
Don't raise signals on child exits.

18 years agoWe should use ssize_t here.
Roy Marples [Mon, 21 Jan 2008 15:12:31 +0000 (15:12 +0000)] 
We should use ssize_t here.

18 years agoinet_aton returns 1 for success
Roy Marples [Mon, 21 Jan 2008 15:10:46 +0000 (15:10 +0000)] 
inet_aton returns 1 for success

18 years agoChange man page building to a suffix rule.
Roy Marples [Thu, 17 Jan 2008 18:49:26 +0000 (18:49 +0000)] 
Change man page building to a suffix rule.

18 years agoFormatting.
Roy Marples [Thu, 17 Jan 2008 17:54:03 +0000 (17:54 +0000)] 
Formatting.

18 years agoWe should use caddr_t instead of our own types for arp hardware addresses.
Roy Marples [Thu, 17 Jan 2008 17:51:00 +0000 (17:51 +0000)] 
We should use caddr_t instead of our own types for arp hardware addresses.

18 years agoRe-write the man page using the mdoc format.
Roy Marples [Thu, 17 Jan 2008 14:16:13 +0000 (14:16 +0000)] 
Re-write the man page using the mdoc format.

18 years agoExit through our abort label to ensure we always clean our memory.
Roy Marples [Wed, 16 Jan 2008 17:49:58 +0000 (17:49 +0000)] 
Exit through our abort label to ensure we always clean our memory.

18 years agoDon't request a NULL address and supply a serveraddress when we should.
Roy Marples [Wed, 16 Jan 2008 17:38:02 +0000 (17:38 +0000)] 
Don't request a NULL address and supply a serveraddress when we should.

18 years agoMore formatting fixes.
Roy Marples [Wed, 16 Jan 2008 17:34:36 +0000 (17:34 +0000)] 
More formatting fixes.

18 years agoRe format for standard tabs.
Roy Marples [Wed, 16 Jan 2008 16:38:47 +0000 (16:38 +0000)] 
Re format for standard tabs.

18 years agoAdd correct license
Roy Marples [Wed, 16 Jan 2008 15:59:14 +0000 (15:59 +0000)] 
Add correct license

18 years agoWe now work with C90 compilers, so no need to enforce C99.
Roy Marples [Wed, 16 Jan 2008 14:32:35 +0000 (14:32 +0000)] 
We now work with C90 compilers, so no need to enforce C99.

18 years agostart and last_send should really be time_t also.
Roy Marples [Wed, 16 Jan 2008 13:40:42 +0000 (13:40 +0000)] 
start and last_send should really be time_t also.

18 years agouptime should return time_t
Roy Marples [Wed, 16 Jan 2008 13:16:11 +0000 (13:16 +0000)] 
uptime should return time_t

18 years agoFix -S in getopt.
Roy Marples [Tue, 15 Jan 2008 15:11:00 +0000 (15:11 +0000)] 
Fix -S in getopt.

18 years agoAdd -S to optionally request a Microsoft CSR. -SS only request a Microsoft CSR and...
Roy Marples [Tue, 15 Jan 2008 14:34:28 +0000 (14:34 +0000)] 
Add -S to optionally request a Microsoft CSR. -SS only request a Microsoft CSR and not a normal.

18 years agoRelease 3.1.9
Roy Marples [Wed, 9 Jan 2008 15:51:04 +0000 (15:51 +0000)] 
Release 3.1.9

18 years agoFix INFODIR
Roy Marples [Wed, 9 Jan 2008 14:16:18 +0000 (14:16 +0000)] 
Fix INFODIR

18 years agoDisallow arp claim for IEEE1394 per RFC 2734 thanks to pawka.
Roy Marples [Wed, 9 Jan 2008 13:41:16 +0000 (13:41 +0000)] 
Disallow arp claim for IEEE1394 per RFC 2734 thanks to pawka.

18 years agoWrite the real routing message length, fixing the addition of routes on NetBSD and...
Roy Marples [Wed, 9 Jan 2008 12:34:34 +0000 (12:34 +0000)] 
Write the real routing message length, fixing the addition of routes on NetBSD and hopefully  OpenBSD.

18 years ago.depend shouldn't need scripts.
Roy Marples [Wed, 9 Jan 2008 11:45:30 +0000 (11:45 +0000)] 
.depend shouldn't need scripts.

18 years agoBump the version for testing.
Roy Marples [Wed, 9 Jan 2008 10:19:16 +0000 (10:19 +0000)] 
Bump the version for testing.

18 years agoOnly ignore dhcpcd bz2 files.
Roy Marples [Wed, 9 Jan 2008 10:17:57 +0000 (10:17 +0000)] 
Only ignore dhcpcd bz2 files.

18 years agoUse correct castings for UINT16_MAX.
Roy Marples [Wed, 9 Jan 2008 10:17:10 +0000 (10:17 +0000)] 
Use correct castings for UINT16_MAX.

18 years agoDefault all int entries in the dhcp header to unsigned.
Roy Marples [Wed, 9 Jan 2008 10:12:59 +0000 (10:12 +0000)] 
Default all int entries in the dhcp header to unsigned.

18 years agocommon.h now defines a simple define to create the function in common.c. NetBSD needs...
Roy Marples [Wed, 9 Jan 2008 10:02:28 +0000 (10:02 +0000)] 
common.h now defines a simple define to create the function in common.c. NetBSD needs srandomdev also.

18 years agoWe no longer need these headers.
Roy Marples [Wed, 9 Jan 2008 09:38:00 +0000 (09:38 +0000)] 
We no longer need these headers.

18 years agoIgnore *.bz2 files
Roy Marples [Tue, 8 Jan 2008 11:04:52 +0000 (11:04 +0000)] 
Ignore *.bz2 files

18 years agoFix makefiles for installing via ports
Roy Marples [Tue, 8 Jan 2008 10:51:03 +0000 (10:51 +0000)] 
Fix makefiles for installing via ports

18 years agoFix the man install
Roy Marples [Tue, 8 Jan 2008 10:22:57 +0000 (10:22 +0000)] 
Fix the man install

18 years agoStyle
Roy Marples [Tue, 8 Jan 2008 10:03:18 +0000 (10:03 +0000)] 
Style

18 years agoAdd comment about where to find the ChangeLog, and now prefer my bugzilla over the...
Roy Marples [Tue, 8 Jan 2008 10:02:25 +0000 (10:02 +0000)] 
Add comment about where to find the ChangeLog, and now prefer my bugzilla over the cruddy berlios bug reporting system.

18 years agoBelatedly into 2008 :)
Roy Marples [Tue, 8 Jan 2008 09:51:23 +0000 (09:51 +0000)] 
Belatedly into 2008 :)

18 years agoAdd a dist mk stub and tweak the other mk's for style.
Roy Marples [Tue, 8 Jan 2008 09:41:22 +0000 (09:41 +0000)] 
Add a dist mk stub and tweak the other mk's for style.

18 years agoRemove ChangeLog, use the git log instead.
Roy Marples [Tue, 8 Jan 2008 09:40:24 +0000 (09:40 +0000)] 
Remove ChangeLog, use the git log instead.

18 years agoAdd an ignore file
Roy Marples [Mon, 7 Jan 2008 23:46:47 +0000 (23:46 +0000)] 
Add an ignore file

18 years agoMove to a BSD style Makefile and supply mk stubs that work with gmake and pmake.
Roy Marples [Mon, 7 Jan 2008 23:45:48 +0000 (23:45 +0000)] 
Move to a BSD style Makefile and supply mk stubs that work with gmake and pmake.