lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [lwip-users] DHCP Additions


From: Frédéric BERNON
Subject: RE : [lwip-users] DHCP Additions
Date: Thu, 22 Mar 2007 17:25:37 +0100

Do you have test it, and a full patch (or all the files modified) ?
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : address@hidden 
Web Site : http://www.hymatom.fr 
====================================
P Avant d'imprimer, penser à l'environnement
 


-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de Joolz [RSD]
Envoyé : jeudi 22 mars 2007 16:37
À : Mailing list for lwIP users
Objet : [lwip-users] DHCP Additions


Is it possible to have some code added to allow DHCP to insert a hostname, also 
need the obligatory

In DHCP.H

#if !defined( LWIP_DHCP_HOSTNAME_LENGTH)
#define LWIP_DHCP_HOSTNAME_LENGTH 0
#endif

Eg

In DHCP.C at line 245

#if LWIP_DHCP_HOSTNAME_LENGTH
        p = LWIP_DHCP_HOSTNAME;
        dhcp_option(dhcp, DHCP_OPTION_HOSTNAME, LWIP_DHCP_HOSTNAME_LENGTH);
        while( *p)
        {
                dhcp_option_byte(dhcp, *p++);
        }
#endif

Best Regards

Julian Gardner

Director / Software Development Manager
RSD Communications Ltd
Unit 2, 8 Borrowmeadow Road
Stirling Scotland FK7 7UW

Tel    +44 [0]1786 450572 Ext 238
Fax    +44 [0]1786 450572
Mob    +44 [0]7836 240907

WWW    http://www.rsdtv.com
EMAIL  address@hidden

==========================================

Please do not send me any email messages in HTML format or it may be deleted at 
our mail server without notice to sender or recipient. Message contents should 
be considered as confidential regardless of the contents.

 


_______________________________________________
lwip-users mailing list
address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]