diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2014-01-25 17:59:14 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-01-25 17:59:14 +0000 |
commit | cbf13a2a6da62b6ca817fdd7022eacd8d9efb40e (patch) | |
tree | 24400ec1444351b4a6ef1374b3d6118907cb2818 /src/cache.c | |
parent | 5b3bf921013e41087bbd6b906974ab628ab59639 (diff) | |
download | dnsmasq-cbf13a2a6da62b6ca817fdd7022eacd8d9efb40e.tar.gz |
Class specifier in --dnskey, instead of hardwiring C_IN.
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c index d5e91b0..01fee3f 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1003,7 +1003,7 @@ void cache_reload(void) cache->addr.key.algo = key->algo; cache->addr.key.flags = key->flags; cache->addr.key.keytag = dnskey_keytag(key->algo, key->flags, (unsigned char *)key->key, key->keylen); - cache->uid = C_IN; /* TODO - in option? */ + cache->uid = key->class; cache_hash(cache); } #endif |