From f962c61d98b34c8c0537fb24486a29daa233d9bd Mon Sep 17 00:00:00 2001 From: Manevolent Date: Tue, 5 Nov 2024 17:33:17 -0700 Subject: [PATCH] Update lixonet.sh.tmpl --- proxy-frontend/entry/lixonet.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"