blob: 2d4869b00ee8ad1e2c1d09469c128b25bd52c254 [file] [log] [blame]
Darin Petkove02b3ca2011-05-31 16:00:44 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "shill/ipconfig.h"
6
7#include <base/logging.h>
8
9#include "shill/device.h"
10
11using std::string;
12
13namespace shill {
14
15IPConfig::IPConfig(const Device *device) : device_(device) {
16 VLOG(2) << "IPConfig created.";
17}
18
19IPConfig::~IPConfig() {
20 VLOG(2) << "IPConfig destroyed.";
21}
22
23const string &IPConfig::GetDeviceName() const {
24 return device()->Name();
25}
26
27} // namespace shill