aboutsummaryrefslogtreecommitdiff
path: root/lladdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lladdr.c')
-rw-r--r--lladdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lladdr.c b/lladdr.c
index 1f02ba4..1daa379 100644
--- a/lladdr.c
+++ b/lladdr.c
@@ -24,8 +24,8 @@ int set_lladdr(const char *ifname, const char *lladdr,
#if defined(TARGET_LINUX)
#ifdef CONFIG_FEATURE_IPROUTE
openvpn_snprintf (cmd, sizeof (cmd),
- IPROUTE_PATH " link set addr %s dev %s",
- lladdr, ifname);
+ "%s link set addr %s dev %s",
+ iproute_path, lladdr, ifname);
#else
openvpn_snprintf (cmd, sizeof (cmd),
IFCONFIG_PATH " %s hw ether %s",