On Thu, 8 Nov 2007, Rainer Jochem wrote:

> @@ -620,6 +622,17 @@ ic_dhcp_init_options(u8 *options)
>               *e++ = sizeof(ic_req_params);
>               memcpy(e, ic_req_params, sizeof(ic_req_params));
>               e += sizeof(ic_req_params);
> +
> +             // Send it only if the according kernel parameter was set

No C99 comments please. Though I'm not sure if this comment is that 
necessary anyway...

> +             if (*vendor_class_identifier) {
> +                     printk(KERN_INFO "Sending class identifier \"%s\"\n",
> +                            vendor_class_identifier);
> +                     *e++ = 60;      /* Class-identifier */
> +                     *e++ = strlen(vendor_class_identifier);
> +                     memcpy(e, vendor_class_identifier,
> +                            strlen(vendor_class_identifier));
> +                     e += strlen(vendor_class_identifier);
> +             }
>       }
>  
>       *e++ = 255;     /* End of the list */

-- 
 i.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to