]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4307] Fixed CID 1202718, 1202719 and 1292720fg
authorFrancis Dupont <fdupont@isc.org>
Tue, 23 Feb 2016 22:15:09 +0000 (23:15 +0100)
committerFrancis Dupont <fdupont@isc.org>
Tue, 23 Feb 2016 22:15:09 +0000 (23:15 +0100)
src/bin/perfdhcp/main.cc

index 2bfb66c423329ac2b57ffe980c5b7189ff14162b..2e56dbb3dd2e8c3078edbdc2b32bc2982d996ced 100644 (file)
@@ -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) {