From: Roy Marples Date: Wed, 15 Jan 2020 17:22:12 +0000 (+0000) Subject: DHCP6: Fix writing mudurl X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7349c423a3402c34edbc20d68f4c533021a3da53;p=thirdparty%2Fdhcpcd.git DHCP6: Fix writing mudurl --- diff --git a/src/dhcp6.c b/src/dhcp6.c index a3732a6d..72170921 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -1091,8 +1091,8 @@ dhcp6_makemessage(struct interface *ifp) memcpy(o_lenp, &o.len, sizeof(o.len)); } - if (!has_option_mask(ifo->nomask6, D6_OPTION_MUDURL && - ifo->mudurl[0])) + if (!has_option_mask(ifo->nomask6, D6_OPTION_MUDURL) && + ifo->mudurl[0]) COPYIN(D6_OPTION_MUDURL, ifo->mudurl + 1, ifo->mudurl[0]);