From 75d23348894a57d2fda048cfd71a198f9c3ba59f Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Thu, 27 Oct 2011 12:27:00 -0700 Subject: dhcpcd: Use "old style" vendor id for compatibility Change-Id: If327f1511c740caf377357668b2af698ec8dacab Signed-off-by: Dmitry Shmidt --- if-options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/if-options.c b/if-options.c index 4dd907b..9e77f2b 100644 --- a/if-options.c +++ b/if-options.c @@ -793,6 +793,7 @@ read_config(const char *file, ifo->hostname[0] = '\0'; platform = hardware_platform(); +#ifndef ANDROID if (uname(&utn) == 0) ifo->vendorclassid[0] = snprintf((char *)ifo->vendorclassid + 1, VENDORCLASSID_MAX_LEN, @@ -800,6 +801,7 @@ read_config(const char *file, utn.sysname, utn.release, utn.machine, platform ? ":" : "", platform ? platform : ""); else +#endif ifo->vendorclassid[0] = snprintf((char *)ifo->vendorclassid + 1, VENDORCLASSID_MAX_LEN, "%s-%s", PACKAGE, VERSION); -- cgit v1.1