lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] DHCP Additions


From: Joolz [RSD]
Subject: [lwip-users] DHCP Additions
Date: Thu, 22 Mar 2007 15:37:15 -0000

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.

 




reply via email to

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