]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5333] Use addInterface
authorFrancis Dupont <fdupont@isc.org>
Fri, 28 Jul 2017 13:19:11 +0000 (15:19 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 28 Jul 2017 13:19:11 +0000 (15:19 +0200)
src/lib/dhcp/iface_mgr_linux.cc

index 495742527ac3316fc674f61aa47eb8f742d100f5..36d263d1511bccdfd7e188536f7a179253f0053d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2017 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
@@ -487,7 +487,7 @@ void IfaceMgr::detectIfaces() {
         }
 
         nl.ipaddrs_get(*iface, addr_info);
-        ifaces_.push_back(iface);
+        addInterface(iface);
     }
 
     nl.release_list(link_info);