mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 17:14:06 +02:00
it seems to be working now
This commit is contained in:
parent
ec6c3a0a8b
commit
b4cf0acb44
11 changed files with 398 additions and 64 deletions
|
|
@ -1,5 +1,6 @@
|
|||
mod namespace;
|
||||
mod proxy;
|
||||
pub mod link;
|
||||
|
||||
use crate::config::{Config, ForwardConfig, NamespaceConfig, NamespaceName};
|
||||
use crate::daemon::namespace::{NamespaceError, NetNs};
|
||||
|
|
@ -163,7 +164,7 @@ impl ActiveNamespace {
|
|||
|
||||
for new in &config.forward {
|
||||
if !self.has_forward(new) {
|
||||
self.proxies.push(ActiveProxy::new(new)?);
|
||||
self.proxies.push(ActiveProxy::new(new, &config.name)?);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue