-/* $OpenBSD: as.c,v 1.14 2023/10/18 07:04:24 tb Exp $ */
+/* $OpenBSD: as.c,v 1.15 2023/10/18 07:10:24 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
case CERT_AS_ID:
warnx("%s: AS %u: %s", fn, cert->id, msg);
break;
- case CERT_AS_INHERIT:
- warnx("%s: AS (inherit): %s", fn, msg);
- break;
case CERT_AS_RANGE:
warnx("%s: AS range %u--%u: %s", fn, cert->range.min,
cert->range.max, msg);
break;
+ case CERT_AS_INHERIT:
+ warnx("%s: AS (inherit): %s", fn, msg);
+ break;
default:
warnx("%s: corrupt cert", fn);
break;
-/* $OpenBSD: ip.c,v 1.30 2023/10/18 07:08:19 tb Exp $ */
+/* $OpenBSD: ip.c,v 1.31 2023/10/18 07:10:24 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
ip_addr_print(&cert->ip, cert->afi, buf, sizeof(buf));
warnx("%s: %s: %s", fn, buf, msg);
break;
- case CERT_IP_INHERIT:
- warnx("%s: (inherit): %s", fn, msg);
- break;
case CERT_IP_RANGE:
ip_addr_range_print(&cert->range, cert->afi, buf, sizeof(buf));
warnx("%s: %s: %s", fn, buf, msg);
break;
+ case CERT_IP_INHERIT:
+ warnx("%s: (inherit): %s", fn, msg);
+ break;
default:
warnx("%s: corrupt cert", fn);
break;