From: Francis Dupont Date: Fri, 28 Jul 2017 13:19:11 +0000 (+0200) Subject: [5333] Use addInterface X-Git-Tag: trac5124a_base~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a00595a581e7d3193fa62a8a735650ac3e9384;p=thirdparty%2Fkea.git [5333] Use addInterface --- diff --git a/src/lib/dhcp/iface_mgr_linux.cc b/src/lib/dhcp/iface_mgr_linux.cc index 495742527a..36d263d151 100644 --- a/src/lib/dhcp/iface_mgr_linux.cc +++ b/src/lib/dhcp/iface_mgr_linux.cc @@ -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);