mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
dnat make servce and address optional
This commit is contained in:
parent
02c5fb0281
commit
f7062fed86
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ pub struct DestinationNATRule {
|
|||
pub destination_addresses: Vec<String>,
|
||||
pub comment: String,
|
||||
pub counter: bool,
|
||||
pub dnat_address: String,
|
||||
pub dnat_service: String,
|
||||
pub dnat_address: Option<String>,
|
||||
pub dnat_service: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Validate, Debug)]
|
||||
|
|
Loading…
Add table
Reference in a new issue