]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
knotc: repair broken freezer
authorDavid Vašek <david.vasek@nic.cz>
Wed, 9 Dec 2020 09:37:03 +0000 (10:37 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Wed, 9 Dec 2020 10:01:05 +0000 (11:01 +0100)
There can arise errors even in "zone-freeze" and "zone-thaw" calls (e.g. "no such zone found").

src/utils/knotc/commands.c

index b881ca35436890f368c502779f5a8b1d2211fd34..f0be025363d7c8c20334a8aa87a3ef36a4dc1136 100644 (file)
@@ -248,6 +248,8 @@ static void format_data(ctl_cmd_t cmd, knot_ctl_type_t data_type,
        case CTL_ZONE_SIGN:
        case CTL_ZONE_KEY_ROLL:
        case CTL_ZONE_KSK_SBM:
+       case CTL_ZONE_FREEZE:
+       case CTL_ZONE_THAW:
        case CTL_ZONE_BEGIN:
        case CTL_ZONE_COMMIT:
        case CTL_ZONE_ABORT: