resolved: fix rcode formatting string length
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Jan 2016 11:04:36 +0000 (12:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jan 2016 16:19:19 +0000 (17:19 +0100)
commit3347dd5ea1dba5e27a677954b505bb6a2ee6cd75
tree792ec6308b0d967b74272be4d7f7634b5c3f911a
parent3731ad2703192dc904922443876d9b2ccff10f5e
resolved: fix rcode formatting string length

Since we honour the edns rcode extension we need more than 4 bits to format it. To avoid further confusion, derive the
right length from the type.
src/resolve/resolved-bus.c