Hi all,
I'm running DHCPv6_Self_test. When I run it in server mode it always
returns two failures:
RFC3646 -> 4 -> Part A :Returning of DNS Recursive Name Server option
RFC3736 -> 19 -> Part A :Returning of DNS Recursive Name Server option
The reasons both are
"Opt_DHCPv6_DNS_SearchList found
NG: The unexpected option is exist"
Both test cases send request message with optioncode(23,24)
I think the Reply should contain Opt_DHCPv6_DNS_SearchList(option 24).
But the test case shows:
# check Options
if (0 != options_exist(\%rep2, ($CMP_DNS_SVR))){
dhcpExitError("<B>The expected option is not exist</B><BR>");
}
if (0 == options_exist(\%rep2, ($CMP_DNS_LST))){
dhcpExitError("<B>The unexpected option is exist</B><BR>");
}
Rather than "if (0 == options ... The unexpected option is exist",
should it be "if (0 != options ... Opt_DHCPv6_DNS_SearchList does not
exist"?
I didn't see any part which tell me in some case a server should
reply a message without Opt_DHCPv6_DNS_SearchList if get a request with
optioncode 24 in rfc
Could someone please provide more with regards to this?
Thanks
Yang Ren