blob: 2d4869b00ee8ad1e2c1d09469c128b25bd52c254 [file] [log] [blame]
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/ipconfig.h"
#include <base/logging.h>
#include "shill/device.h"
using std::string;
namespace shill {
IPConfig::IPConfig(const Device *device) : device_(device) {
VLOG(2) << "IPConfig created.";
}
IPConfig::~IPConfig() {
VLOG(2) << "IPConfig destroyed.";
}
const string &IPConfig::GetDeviceName() const {
return device()->Name();
}
} // namespace shill