From dcad60a46e51dbdd9d62747098172833cc2db7aa Mon Sep 17 00:00:00 2001
From: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com>
Date: Mon, 15 Apr 2024 01:01:47 +0300
Subject: [PATCH] Update tapip, fix set_routes counter (#1399)

---
 general/package/vtund-openipc/files/tapip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/general/package/vtund-openipc/files/tapip b/general/package/vtund-openipc/files/tapip
index a9703a91..a767b647 100755
--- a/general/package/vtund-openipc/files/tapip
+++ b/general/package/vtund-openipc/files/tapip
@@ -24,6 +24,6 @@ case "$1" in
 
 	renew|bound)
 		ip a add "$ip/$subnet" dev "$interface"
-		[ -n "$staticroutes" ] && set_routes "$staticroutes"
+		[ -n "$staticroutes" ] && set_routes $staticroutes
 		;;
 esac