Re: [PATCH] ifupdown: fix build
- From: Dan Williams <dcbw redhat com>
- To: Evan Broder <evan ebroder net>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH] ifupdown: fix build
- Date: Thu, 17 Nov 2011 16:25:31 -0600
On Thu, 2011-11-17 at 14:13 -0800, Evan Broder wrote:
> ---
> src/settings/plugins/ifupdown/plugin.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
Pushed, thanks.
Dan
> diff --git a/src/settings/plugins/ifupdown/plugin.c b/src/settings/plugins/ifupdown/plugin.c
> index 2447c0e..8f47254 100644
> --- a/src/settings/plugins/ifupdown/plugin.c
> +++ b/src/settings/plugins/ifupdown/plugin.c
> @@ -42,6 +42,7 @@
> #include "nm-setting-wireless.h"
> #include "nm-setting-wired.h"
> #include "nm-setting-ppp.h"
> +#include "nm-utils.h"
>
> #include "nm-ifupdown-connection.h"
> #include "plugin.h"
> @@ -204,7 +205,7 @@ bind_device_to_connection (SCPluginIfupdown *self,
> }
>
> mac_address = nm_utils_hwaddr_atoba (address, ARPHRD_ETHER);
> - if (!tmp_mac) {
> + if (!mac_address) {
> PLUGIN_WARN ("SCPluginIfupdown", "failed to parse MAC address '%s' for %s",
> address, iface);
> return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]