From: Roy Marples Date: Fri, 21 Jun 2013 18:17:52 +0000 (+0000) Subject: We don't print the FQDN flags. X-Git-Tag: v6.0.0~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f12526e5a982536e08a5d80581961a4e2b79487;p=thirdparty%2Fdhcpcd.git We don't print the FQDN flags. --- diff --git a/dhcp6.c b/dhcp6.c index 89780fe7..205fce2b 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -2513,6 +2513,11 @@ dhcp6_env(char **env, const char *prefix, const struct interface *ifp, } ol = ntohs(o->len); od = D6_COPTION_DATA(o); + /* We only want the FQDN name */ + if (opt->option == D6_OPTION_FQDN) { + ol--; + od++; + } len = print_option(NULL, 0, opt->type, ol, od, ifp->name); if (len < 0) return -1;