[shill] Continue fixing sloppy naming stuff
We were using some illegal dbus paths. Stop :-)
BUG=chromium-os:17744
TEST=unit tests, run on device and list-devices, list-services
Change-Id: I812f0f4d3d663e2af50477d46900ea885ee69e21
Reviewed-on: http://gerrit.chromium.org/gerrit/4349
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/ipconfig.cc b/ipconfig.cc
index 913890b..ed789e4 100644
--- a/ipconfig.cc
+++ b/ipconfig.cc
@@ -8,13 +8,17 @@
#include <chromeos/dbus/service_constants.h>
#include "shill/adaptor_interfaces.h"
+#include "shill/control_interface.h"
#include "shill/error.h"
using std::string;
namespace shill {
-IPConfig::IPConfig(const std::string &device_name) : device_name_(device_name) {
+IPConfig::IPConfig(ControlInterface *control_interface,
+ const std::string &device_name)
+ : device_name_(device_name),
+ adaptor_(control_interface->CreateIPConfigAdaptor(this)) {
// Address might be R/O or not, depending on the type of IPconfig, so
// we'll leave this up to the subclasses.
// Register(Const?)String(flimflam::kAddressProperty, &properties_.address);