summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-01-05 23:25:35 +0000
committerluigi <luigi@FreeBSD.org>2009-01-05 23:25:35 +0000
commit9ceaab3d69ce9b9152102a261369a895add0534f (patch)
tree327cf2f0e93322eed351111c461ab90b25578ef3 /lib
parent5d4a97704b7d4a211d4249b88b7ac05d4faded1f (diff)
downloadFreeBSD-src-9ceaab3d69ce9b9152102a261369a895add0534f.zip
FreeBSD-src-9ceaab3d69ce9b9152102a261369a895add0534f.tar.gz
put a prefix on dhcp options to avoid clobbering, even by mistake,
existing environment variables. MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libstand/bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/bootp.c b/lib/libstand/bootp.c
index 4ddfa6c..401b691 100644
--- a/lib/libstand/bootp.c
+++ b/lib/libstand/bootp.c
@@ -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"}
};
OpenPOWER on IntegriCloud