Closed lars18th closed 4 years ago
What is the benefit over commenting this tunnel + signaling (HUP) the daemon to remove/add the tunnel ?
Hi @zehome ,
What is the benefit over commenting this tunnel ?
The benefit is changing only one character in the configuration file!
Imagine this scenario: 3 or more tunnels. You are adjusting one to one. So you need to "disable" various and check only one. Then you change to another, etc. But at time this implies to "comment" all lines of the tunnel like:
#[dsl1]
#bindhost = "0.0.0.0"
#bindport = 5080
#
# ...
#
A lot of work for a lot of lines. But you can do more easy changing only one chracter:
[dsl1]
disable = 0
bindhost = "0.0.0.0"
bindport = 5080
...
with
[dsl1]
disable = 1
bindhost = "0.0.0.0"
bindport = 5080
...
I feel it more useable!
I'm sorry I won't implement such feature.
Hi,
To do some tests it will be desirable to have the option to disable a channel in the configuration file:
So using a simple '#' at start, or changing to '= 0', it will be possible to enable/disable this tunnel.
You agree?