put a prefix on dhcp options to avoid clobbering, even by mistake,

existing environment variables.

MFC after:	2 weeks
This commit is contained in:
Luigi Rizzo 2009-01-05 23:25:35 +00:00
parent 2056b4c79b
commit ff054fe639
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186799

View File

@ -496,7 +496,7 @@ static struct dhcp_opt vndr_opt[] = { /* Vendor Specific Options */
{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"}
};