Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202644
b: refs/heads/master
c: 130c0f4
h: refs/heads/master
v: v3
  • Loading branch information
Wu Fengguang authored and David S. Miller committed Jun 2, 2010
1 parent 7697033 commit a11255f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 614f60fa9d73a9e8fdff3df83381907fea7c5649
refs/heads/master: 130c0f47fdf9c533deb1136cad5136f6cb7020f0
7 changes: 7 additions & 0 deletions trunk/net/ipv4/ipconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,13 @@ ic_dhcp_init_options(u8 *options)
memcpy(e, ic_req_params, sizeof(ic_req_params));
e += sizeof(ic_req_params);

if (ic_host_name_set) {
*e++ = 12; /* host-name */
len = strlen(utsname()->nodename);
*e++ = len;
memcpy(e, utsname()->nodename, len);
e += len;
}
if (*vendor_class_identifier) {
printk(KERN_INFO "DHCP: sending class identifier \"%s\"\n",
vendor_class_identifier);
Expand Down

0 comments on commit a11255f

Please sign in to comment.