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  [EMAIL PROTECTED]

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

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
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to