Start to build NAT configuration mode
This commit is contained in:
@ -261,7 +261,7 @@ impl AppConfig {
|
||||
}
|
||||
|
||||
pub fn net_nat_path(&self, name: &NetworkName) -> PathBuf {
|
||||
self.nat_path().join(format!("nat-{}.json", name.0))
|
||||
self.nat_path().join(name.nat_file_name())
|
||||
}
|
||||
|
||||
pub fn net_filter_definition_path(&self, name: &NetworkFilterName) -> PathBuf {
|
||||
|
Reference in New Issue
Block a user