summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/dns/gen.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-24 17:45:25 +0000
committerflorian <florian@openbsd.org>2020-02-24 17:45:25 +0000
commitee21177a5b213b2a5b2979caf32f5a2642ca4f1c (patch)
treef5e22756492bb51ddc1553c225d9a61efcf89a67 /usr.bin/dig/lib/dns/gen.c
parentWe only need to fill a wire format buffer from soa and tsig structs. (diff)
downloadwireguard-openbsd-ee21177a5b213b2a5b2979caf32f5a2642ca4f1c.tar.xz
wireguard-openbsd-ee21177a5b213b2a5b2979caf32f5a2642ca4f1c.zip
We only need to create cname, ns, soa and tsig structs.
OK jsg
Diffstat (limited to 'usr.bin/dig/lib/dns/gen.c')
-rw-r--r--usr.bin/dig/lib/dns/gen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/dig/lib/dns/gen.c b/usr.bin/dig/lib/dns/gen.c
index 1409cfc5246..583f9db23d5 100644
--- a/usr.bin/dig/lib/dns/gen.c
+++ b/usr.bin/dig/lib/dns/gen.c
@@ -621,9 +621,6 @@ main(int argc, char **argv) {
FROMWIRETYPE, FROMWIRECLASS, FROMWIREDEF);
doswitch("TOWIRESWITCH", "towire", TOWIREARGS,
TOWIRETYPE, TOWIRECLASS, TOWIREDEF);
- doswitch("TOSTRUCTSWITCH", "tostruct", TOSTRUCTARGS,
- TOSTRUCTTYPE, TOSTRUCTCLASS, TOSTRUCTDEF);
-
/*
* From here down, we are processing the rdata names and
* attributes.