summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-rr.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-31 18:41:41 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-31 18:41:41 +0200
commit42cc2eebb01056beb7acd3ecfe8e533558237f84 (patch)
treef6d632ce803b51dd885f919ec94412fcd10087f2 /src/resolve/resolved-dns-rr.h
parent9c92ce6d67f88beb31dd6555d12ae3f632218a39 (diff)
resolved: properly process SSHFP RRs
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r--src/resolve/resolved-dns-rr.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h
index a001433ff9..61c00d59b2 100644
--- a/src/resolve/resolved-dns-rr.h
+++ b/src/resolve/resolved-dns-rr.h
@@ -55,7 +55,6 @@ enum {
DNS_TYPE_SRV = 0x21,
DNS_TYPE_DNAME = 0x27,
DNS_TYPE_SSHFP = 0x2C,
-
DNS_TYPE_SPF = 0x63,
/* Special records */
@@ -138,6 +137,13 @@ struct DnsResourceRecord {
uint32_t longitude;
uint32_t altitude;
} loc;
+
+ struct {
+ uint8_t algorithm;
+ uint8_t fptype;
+ void *key;
+ size_t key_size;
+ } sshfp;
};
};