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); }