Add an "hostname" config option.

It is overridden by the -h command line option.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
Benjamin Cama 2011-07-25 20:07:14 +02:00
parent 3d9333a6cb
commit fd021320ec
3 changed files with 15 additions and 4 deletions

View file

@ -7,6 +7,9 @@ set log_file "/var/log/l2tpns"
# Write pid to this file
set pid_file "/var/run/l2tpns.pid"
# This host name, if different from the OS one
#set hostname "localhost"
# Shared secret with LAC
set l2tp_secret "secret"