From 243ddcbc76d19847d9e8022dc2f6659078f5cc20 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 3 Apr 2010 17:34:52 +0200 Subject: udhcpd: support decoding of option 120 "SIP servers". Closes bug 737 Signed-off-by: Denys Vlasenko --- networking/udhcp/common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'networking/udhcp/common.h') diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 1c5afa6f9..28e34718a 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h @@ -71,7 +71,8 @@ enum { OPTION_IP_PAIR, OPTION_STRING, #if ENABLE_FEATURE_UDHCP_RFC3397 - OPTION_STR1035, /* RFC1035 compressed domain name list */ + OPTION_DNS_STRING, /* RFC1035 compressed domain name list */ + OPTION_SIP_SERVERS, #endif // OPTION_BOOLEAN, OPTION_U8, @@ -130,6 +131,7 @@ enum { //#define DHCP_USER_CLASS 0x4d /* RFC 3004. set of LASCII strings. "I am a printer" etc */ #define DHCP_FQDN 0x51 /* client asks to update DNS to map its FQDN to its new IP */ //#define DHCP_DOMAIN_SEARCH 0x77 /* RFC 3397. set of ASCIZ string, DNS-style compressed */ +//#define DHCP_SIP_SERVERS 0x78 /* RFC 3361. flag byte, then: 0: domain names, 1: IP addrs */ //#define DHCP_STATIC_ROUTES 0x79 /* RFC 3442. (mask,ip,router) tuples */ //#define DHCP_WPAD 0xfc /* MSIE's Web Proxy Autodiscovery Protocol */ #define DHCP_END 0xff -- cgit v1.2.3