mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 13:37:55 +00:00
[4307] Fixed CID 1202722
This commit is contained in:
parent
cea1469dd4
commit
cac9c6712f
@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
|
// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||||
//
|
//
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
@ -24,12 +24,12 @@ using namespace std;
|
|||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
int ret = EXIT_SUCCESS;
|
int ret = EXIT_SUCCESS;
|
||||||
|
|
||||||
// Instantiate/fetch the DHCP-DDNS application controller singleton.
|
|
||||||
DControllerBasePtr& controller = D2Controller::instance();
|
|
||||||
|
|
||||||
// Launch the controller passing in command line arguments.
|
// Launch the controller passing in command line arguments.
|
||||||
// Exit program with the controller's return code.
|
// Exit program with the controller's return code.
|
||||||
try {
|
try {
|
||||||
|
// Instantiate/fetch the DHCP-DDNS application controller singleton.
|
||||||
|
DControllerBasePtr& controller = D2Controller::instance();
|
||||||
|
|
||||||
// 'false' value disables test mode.
|
// 'false' value disables test mode.
|
||||||
controller->launch(argc, argv, false);
|
controller->launch(argc, argv, false);
|
||||||
} catch (const VersionMessage& ex) {
|
} catch (const VersionMessage& ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user