Browse Source

[5333] Use addInterface

Francis Dupont 7 years ago
parent
commit
90a00595a5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dhcp/iface_mgr_linux.cc

+ 2 - 2
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);