Skip to content

Commit 705328c

Browse files
Steinar Haugguyharris
Steinar Haug
authored andcommitted
Improve printout of DHCPv6 options.
Reviewed-By: Guy Harris <[email protected]>
1 parent a91d20c commit 705328c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

print-dhcp6.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ dhcp6opt_name(int type)
229229
case DH6OPT_SIP_SERVER_A:
230230
return "SIP-servers-address";
231231
case DH6OPT_DNS:
232-
return "DNS";
232+
return "DNS-server";
233233
case DH6OPT_DNSNAME:
234-
return "DNS-name";
234+
return "DNS-search-list";
235235
case DH6OPT_IA_PD:
236236
return "IA_PD";
237237
case DH6OPT_IA_PD_PREFIX:
238238
return "IA_PD-prefix";
239239
case DH6OPT_NTP_SERVERS:
240-
return "NTP-Server";
240+
return "NTP-server";
241241
case DH6OPT_LIFETIME:
242242
return "lifetime";
243243
case DH6OPT_NIS_SERVERS:

0 commit comments

Comments
 (0)