Skip to content

Commit

Permalink
Allow IPv6 only ROAs. (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Bruijnzeels authored Oct 11, 2019
1 parent 6b7e44b commit b415a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/roa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl RoaBuilder {
let v4 = self.v4.to_resources();
let v6 = self.v6.to_resources();
// There must be some resources in order to make a valid ROA.
assert!(v4.is_some() || v6.is_none());
assert!(v4.is_some() || v6.is_some());
sigobj.set_v4_resources(v4);
sigobj.set_v6_resources(v6);
let signed = sigobj.finalize(
Expand Down

0 comments on commit b415a58

Please sign in to comment.