static void dhcp6_bind(struct interface *, const char *, const char *);
static void dhcp6_failinform(void *);
-static void dhcp6_recvaddr(void *, unsigned short);
static void dhcp6_startdecline(struct interface *);
+ static void dhcp6_startrequest(struct interface *);
#ifdef SMALL
#define dhcp6_hasprefixdelegation(a) (0)
/* We have now forked, setsid, forked once more.
* From this point on, we are the controlling daemon. */
logdebugx("spawned manager process on PID %d", getpid());
+
start_manager:
ctx.options |= DHCPCD_STARTED;
- if ((pid = pidfile_lock(ctx.pidfile)) != 0) {
+ if ((pid = pidfile_lock(PIDFILE)) != 0) {
logerr("%s: pidfile_lock %d", __func__, pid);
#ifdef PRIVSEP
/* privsep has not started ... */