Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2009 23:25:35 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186799 - head/lib/libstand
Message-ID:  <200901052325.n05NPZ3x015109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Mon Jan  5 23:25:35 2009
New Revision: 186799
URL: http://svn.freebsd.org/changeset/base/186799

Log:
  put a prefix on dhcp options to avoid clobbering, even by mistake,
  existing environment variables.
  
  MFC after:	2 weeks

Modified:
  head/lib/libstand/bootp.c

Modified: head/lib/libstand/bootp.c
==============================================================================
--- head/lib/libstand/bootp.c	Mon Jan  5 22:09:46 2009	(r186798)
+++ head/lib/libstand/bootp.c	Mon Jan  5 23:25:35 2009	(r186799)
@@ -496,7 +496,7 @@ static struct dhcp_opt vndr_opt[] = { /*
 	{94,	__BYTES,	"network-interface"},
 	{97,	__BYTES,	"machine-identifier"},
 #else					/* default (empty) table */
-	{0,	0,	""},		/* prefix */
+	{0,	0,	"dhcp.vendor."},		/* prefix */
 #endif
 	{0,	__TXT,	"%soption-%d"}
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901052325.n05NPZ3x015109>