diff --git a/shared/src/prompts.rs b/shared/src/prompts.rs index 924f194..032143f 100644 --- a/shared/src/prompts.rs +++ b/shared/src/prompts.rs @@ -77,6 +77,7 @@ pub fn add_cidr(cidrs: &[Cidr], request: &AddCidrOpts) -> Result(cidrs: &'a [Cidr], text: &'static str) -> Result<&'a Cidr, Error> { let cidr_names: Vec<_> = cidrs .iter() + .filter(|cidr| cidr.name != "innernet-server") .map(|cidr| format!("{} ({})", &cidr.name, &cidr.cidr)) .collect(); let cidr_index = Select::with_theme(&*THEME)