mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 09:04:07 +02:00
reload destination -> target and module fixes
This commit is contained in:
parent
645a6e9978
commit
5e5ee227fc
10 changed files with 69 additions and 42 deletions
|
|
@ -1,8 +1,8 @@
|
|||
mod destination;
|
||||
mod target;
|
||||
mod name;
|
||||
mod source;
|
||||
|
||||
pub use crate::config::destination::ForwardDestination;
|
||||
pub use crate::config::target::ForwardTarget;
|
||||
pub use crate::config::name::NamespaceName;
|
||||
pub use crate::config::source::ForwardSource;
|
||||
use serde::Deserialize;
|
||||
|
|
@ -80,7 +80,7 @@ pub struct NamespaceConfig {
|
|||
#[derive(Deserialize, Debug)]
|
||||
pub struct ForwardConfig {
|
||||
pub source: ForwardSource,
|
||||
pub destination: ForwardDestination,
|
||||
pub target: ForwardTarget,
|
||||
}
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue