discovery: Include datapath name in log messages.
authorBen Pfaff <blp@nicira.com>
Fri, 4 Jun 2010 20:49:25 +0000 (13:49 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 8 Jun 2010 17:38:59 +0000 (10:38 -0700)
commitc2e01f64e7ed6c0c0ae0a160daf3f2704f43bad8
treec7c0d20594a15dade079c38d1cefe0f5371c98b9
parenteb15cdbbea5d8193af63bd2de948b99af30e648f
discovery: Include datapath name in log messages.

This commit adds the datapath name to discovery and DHCP-related messages,
so that it is obvious to the user where discovery is taking place.

Previously, messages looked like:
    Jun 04 13:41:29|00010|dhcp_client|INFO|sending DHCPDISCOVER

With this commit, they look like this:
    Jun 04 13:41:29|00010|dhcp_client|INFO|br0: sending DHCPDISCOVER

I may be the only person in the world who regularly uses controller
discovery.
lib/dhcp-client.c
lib/dhcp-client.h
ofproto/discovery.c