summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-rr.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-31 18:23:00 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-31 18:23:34 +0200
commit9c92ce6d67f88beb31dd6555d12ae3f632218a39 (patch)
tree1dda48f7b696ec1ba9b09abbb08b864bd333ca0e /src/resolve/resolved-dns-rr.h
parentc0eb11cfd016381fe02875a4ef29c1ade00c94e7 (diff)
resolved: properly process SRV records
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r--src/resolve/resolved-dns-rr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h
index 47885fc467..a001433ff9 100644
--- a/src/resolve/resolved-dns-rr.h
+++ b/src/resolve/resolved-dns-rr.h
@@ -86,12 +86,12 @@ struct DnsResourceRecord {
uint16_t size;
} generic;
- /* struct { */
- /* uint16_t priority; */
- /* uint16_t weight; */
- /* uint16_t port; */
- /* char *name; */
- /* } srv; */
+ struct {
+ uint16_t priority;
+ uint16_t weight;
+ uint16_t port;
+ char *name;
+ } srv;
struct {
char *name;