//! The configuration file. It is written by the operator and not by a peer, //! but a typo in it should be an error message, never a panic at startup. #![no_main] use bgp_server::config::Config; use bgp_server::proto::config::BgpConfig; use libfuzzer_sys::fuzz_target; fuzz_target!(|text: &str| { if let Ok(proto) = protobuf::text_format::parse_from_str::(text) { let _ = Config::from_proto(proto); } });