aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_dhcpc.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-06-27 18:31:08 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-06-27 18:31:08 +0200
commit470bebe672fa179c89c0b04ee252ca564e8ee4d5 (patch)
tree54158444e31a478ad052d3cb12377f8671a2d323 /networking/udhcp/d6_dhcpc.c
parentf56ddf2e4ce42d7914d048f42fd952302027e8a3 (diff)
downloadbusybox-470bebe672fa179c89c0b04ee252ca564e8ee4d5.tar.gz
udhcpc6: add comments about option 39, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r--networking/udhcp/d6_dhcpc.c8
1 files changed, 6 insertions, 2 deletions
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 ***/