[PATCH] fwts_hwinfo: don't compare network addresses (LP: #1293297)
Colin King
colin.king at canonical.com
Mon Mar 17 09:19:16 UTC 2014
From: Colin Ian King <colin.king at canonical.com>
It seems that network addresses are valid to change over S4, so
relax the test to not compare these anymore.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/lib/src/fwts_hwinfo.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lib/src/fwts_hwinfo.c b/src/lib/src/fwts_hwinfo.c
index 7c69444..3138485 100644
--- a/src/lib/src/fwts_hwinfo.c
+++ b/src/lib/src/fwts_hwinfo.c
@@ -352,7 +352,6 @@ static int fwts_hwinfo_net_cmp(void *data1, void *data2)
fwts_net_config *config2 = (fwts_net_config *)data2;
return strcmp(config1->name, config2->name) ||
- strcmp(config1->addr, config2->addr) ||
strcmp(config1->hw_addr, config2->hw_addr);
}
--
1.9.0
More information about the fwts-devel
mailing list