From: Francis Dupont Date: Tue, 23 Feb 2016 22:15:09 +0000 (+0100) Subject: [4307] Fixed CID 1202718, 1202719 and 1292720fg X-Git-Tag: trac4248_base~5^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04079bcd8060ab2fb455afc16ec13d86fbd1078d;p=thirdparty%2Fkea.git [4307] Fixed CID 1202718, 1202719 and 1292720fg --- diff --git a/src/bin/perfdhcp/main.cc b/src/bin/perfdhcp/main.cc index 2bfb66c423..2e56dbb3dd 100644 --- a/src/bin/perfdhcp/main.cc +++ b/src/bin/perfdhcp/main.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC") // // 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 @@ -44,7 +44,7 @@ main(int argc, char* argv[]) { try{ TestControl& test_control = TestControl::instance(); ret_code = test_control.run(); - } catch (isc::Exception& e) { + } catch (std::exception& e) { ret_code = 1; std::cerr << "Error running perfdhcp: " << e.what() << std::endl; if (diags.find('e') != std::string::npos) {