From 1cb61463e7af5c9eb85118066230b023792ba57a Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 9 Sep 2019 12:36:10 +0200 Subject: [PATCH] Change mlvpn patch --- mlvpn/patches/021-mlvpn-bind.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlvpn/patches/021-mlvpn-bind.patch b/mlvpn/patches/021-mlvpn-bind.patch index c4e2ef8e8..42221bd9f 100644 --- a/mlvpn/patches/021-mlvpn-bind.patch +++ b/mlvpn/patches/021-mlvpn-bind.patch @@ -5,7 +5,7 @@ if (*t->binddev) { memset(&ifr, 0, sizeof(ifr)); - snprintf(ifr.ifr_name, sizeof(ifr.ifr_name) - 1, t->binddev); -+ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name) - 1, " on %s", t->binddev); ++ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name) - 1, "%s", t->binddev); if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, (void *)&ifr, sizeof(ifr)) < 0) { log_warn(NULL, "failed to bind on interface %s", t->binddev); }