tcpdump mailing list archives
DHCPv6 improvements for readability
From: sthaug () nethelp no
Date: Wed, 10 Nov 2010 19:40:26 +0100 (CET)
Having started to play with DHCPv6, I found the tcpdump printout of DHCPv6 options, http://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#dhcpv6-parameters-2 could be improved. Below are my suggested improvements, relative to tcpdump-4.1.1. The change to the "NTP-server" option is just for constistency with the rest. The "DNS-search-list" could also be called "Domain search list" as it is in the IANA documentation. Steinar Haug, Nethelp consulting, sthaug () nethelp no ---------------------------------------------------------------------- --- print-dhcp6.c.orig 2010-03-12 02:56:44.000000000 +0100 +++ print-dhcp6.c 2010-11-10 18:38:09.000000000 +0100 @@ -229,15 +229,15 @@ case DH6OPT_SIP_SERVER_A: return "SIP-servers-address"; case DH6OPT_DNS: - return "DNS"; + return "DNS-server"; case DH6OPT_DNSNAME: - return "DNS-name"; + return "DNS-search-list"; case DH6OPT_IA_PD: return "IA_PD"; case DH6OPT_IA_PD_PREFIX: return "IA_PD-prefix"; case DH6OPT_NTP_SERVERS: - return "NTP-Server"; + return "NTP-server"; case DH6OPT_LIFETIME: return "lifetime"; case DH6OPT_NIS_SERVERS: - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- DHCPv6 improvements for readability sthaug (Nov 10)
- Re: DHCPv6 improvements for readability Guy Harris (Nov 13)