Commit Graph

9 Commits

Author SHA1 Message Date
Roy Marples
32aaa4c963 Build fixes for only INET and only INET6 2013-11-14 15:48:07 +00:00
Roy Marples
27f61373d1 It seems that FreeBSD will send RTM_DELADDR + RTM_NEWADDR when
replacing an existing IPv4 address with the same values.
As such, we need to maintain a list of configured IPv4 addresses
for each interface so we know when to add it and when to skip it
to avoid receiving bogus RTM_DELADDR messages from ourself.
2013-09-06 09:38:24 +00:00
Roy Marples
7013b07382 Add 4 and 6 arguments to the waitip command so that you can specify
which protocols to wait for.
2013-08-31 16:48:39 +00:00
Roy Marples
8cc47ba26d White space police 2013-04-04 20:31:04 +00:00
Roy Marples
7dab081fbe Add the noalias directive to so that when adding an IPv4 addresss
dhcpcd will overwrite a pre-existing address.

NetBSD PR/47699
2013-03-27 16:36:56 +00:00
Roy Marples
4c9c4b3ea0 Use TAILQ macros for IPv4 routes. 2013-02-19 15:23:53 +00:00
Roy Marples
aae24feb3d It's now possible to compile out IPv4 and IPv6 support by passing
--disable-ipv4 or --disable-ipv6 to configure.
2013-02-04 13:30:35 +00:00
Roy Marples
e88c525f50 Move ipv4 specific code out of net.c and into ipv4.c 2013-02-04 11:03:08 +00:00
Roy Marples
294eff4df4 Remove IPv4 and DHCP4 specific setup from dhcpcd.c and move into ipv4.c
and dhcp.c
Split configure.c into script.c and move the rest into dhcp.c

This starts the goal of making the base of dhcpcd protocol agnostic and
working towards building IPv4 and/or IPv6 code only to reduce size and
allow growing any future new protocol easier.
2013-02-02 14:05:55 +00:00