2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Reliable DHCPv6 release

This commit is contained in:
Francis Dupont
2008-02-27 09:13:03 +00:00
parent 843ae4c595
commit 8720268367
3 changed files with 179 additions and 54 deletions

View File

@@ -506,8 +506,19 @@ main(int argc, char **argv) {
}
}
if (release_mode || exit_mode)
if (exit_mode)
return 0;
if (release_mode) {
#ifndef DHCPv6
return 0;
#else
if (local_family == AF_INET6) {
if (onetry)
return 0;
} else
return 0;
#endif /* DHCPv6 */
}
/* Start up a listener for the object management API protocol. */
if (top_level_config.omapi_port != -1) {