From: Roy Marples Date: Wed, 15 Jan 2020 17:22:12 +0000 (+0000) Subject: DHCP6: Fix writing mudurl X-Git-Tag: v9.0.0~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e30fb5a7bf9a89b13a87f683fd78b1f1262c1b0a;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]);