From 470bebe672fa179c89c0b04ee252ca564e8ee4d5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 27 Jun 2017 18:31:08 +0200 Subject: udhcpc6: add comments about option 39, no code changes Signed-off-by: Denys Vlasenko --- networking/udhcp/d6_dhcpc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/d6_dhcpc.c') diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index 08a26fb57..ef9b9a5f2 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c @@ -98,8 +98,12 @@ static const char opt_req[] = { static const char opt_fqdn_req[] = { (D6_OPT_CLIENT_FQDN >> 8), (D6_OPT_CLIENT_FQDN & 0xff), - 0, 2, - 0, 0 + 0, 2, /* optlen */ + 0, /* flags: */ + /* S=0: server SHOULD NOT perform AAAA RR updates */ + /* O=0: client MUST set this bit to 0 */ + /* N=0: server SHOULD perform updates (PTR RR only in our case, since S=0) */ + 0 /* empty DNS-encoded name */ }; /*** Utility functions ***/ -- cgit v1.2.3