From: pcarana Date: Thu, 4 Jul 2019 18:56:36 +0000 (-0500) Subject: Rollback commit 9f07ee2 since this isn't a bug X-Git-Tag: v1.1.0~1^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4cd36db615e8f02bea17e92939b8e9eb98ba25;p=thirdparty%2FFORT-validator.git Rollback commit 9f07ee2 since this isn't a bug --- diff --git a/src/object/roa.c b/src/object/roa.c index 566961ef..e971f5fb 100644 --- a/src/object/roa.c +++ b/src/object/roa.c @@ -66,12 +66,6 @@ ____handle_roa_v4(struct resources *parent, unsigned long asn, goto end_error; } - if (!resources_contains_asn(parent, asn)) { - error = pr_err("ROA is not allowed to advertise ASN %lu.", - asn); - goto end_error; - } - pr_debug_rm("}"); return vhandler_handle_roa_v4(asn, &prefix, max_length); end_error: @@ -126,12 +120,6 @@ ____handle_roa_v6(struct resources *parent, unsigned long asn, goto end_error; } - if (!resources_contains_asn(parent, asn)) { - error = pr_err("ROA is not allowed to advertise ASN %lu.", - asn); - goto end_error; - } - pr_debug_rm("}"); return vhandler_handle_roa_v6(asn, &prefix, max_length); end_error: