Ignore:
Timestamp:
Mar 19, 2017, 11:11:28 AM (10 days ago)
Author:
brainslayer
Message:

latest dnsmasq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/dnsmasq/src/forward.c

    r31543 r31703  
    898898                  else
    899899                    status = dnssec_validate_reply(now, header, n, daemon->namebuff, daemon->keyname, &forward->class,
    900                                                    option_bool(OPT_DNSSEC_NO_SIGN), NULL, NULL);
     900                                                   option_bool(OPT_DNSSEC_NO_SIGN) && (server->flags && SERV_DO_DNSSEC), NULL, NULL);
    901901                }
    902902             
     
    14771477        new_status = dnssec_validate_ds(now, header, n, name, keyname, class);
    14781478      else
    1479         new_status = dnssec_validate_reply(now, header, n, name, keyname, &class, option_bool(OPT_DNSSEC_NO_SIGN), NULL, NULL);
     1479        new_status = dnssec_validate_reply(now, header, n, name, keyname, &class,
     1480                                           option_bool(OPT_DNSSEC_NO_SIGN) && (server->flags && SERV_DO_DNSSEC), NULL, NULL);
    14801481     
    14811482      if (new_status != STAT_NEED_DS && new_status != STAT_NEED_KEY)
Note: See TracChangeset for help on using the changeset viewer.