Fix prior patch

This commit is contained in:
Roy Marples 2014-11-28 15:20:01 +00:00
parent 25f760b563
commit 6b35b393a6

View File

@ -338,9 +338,9 @@ make_env(const struct interface *ifp, const char *reason, char ***argv)
if (strcmp(reason, "STOPPED") == 0) {
env[9] = strdup("if_up=false");
if (ifo->options & DHCPCD_RELEASE)
env[9] = strdup("if_down=true");
env[10] = strdup("if_down=true");
else
env[9] = strdup("if_down=false");
env[10] = strdup("if_down=false");
} else if (strcmp(reason, "TEST") == 0 ||
strcmp(reason, "PREINIT") == 0 ||
strcmp(reason, "CARRIER") == 0 ||