diff --git a/proxy-frontend/entry/lixonet.sh.tmpl b/proxy-frontend/entry/lixonet.sh.tmpl index 46eda3d..5d55988 100644 --- a/proxy-frontend/entry/lixonet.sh.tmpl +++ b/proxy-frontend/entry/lixonet.sh.tmpl @@ -1,5 +1,5 @@ #!/bin/sh -gateway=`getent hosts tinc | awk '{ print \$1 }'` +gateway=`getent ahostsv4 tinc | awk '{ print $1 }' | head -n 1` route="${network_address}/${global_prefix:-16}" iface="eth0"