From 9acfd3eb734bc745d42e9e6acff950891ce831d3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 11 Feb 2014 23:09:53 +0000 Subject: Build fix on Linux with G++. --- node/EthernetTap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/EthernetTap.cpp') diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp index d2302e3f..bcb6a876 100644 --- a/node/EthernetTap.cpp +++ b/node/EthernetTap.cpp @@ -251,7 +251,7 @@ EthernetTap::EthernetTap( bool recalledDevice = false; if ((tag)&&(tag[0])) { Utils::scopy(ifr.ifr_name,sizeof(ifr.ifr_name),tag); - Utils::snprintf(procpath,sizeof(procpath),"/proc/sys/net/ipv4/conf/%s",ifr.fr_name); + Utils::snprintf(procpath,sizeof(procpath),"/proc/sys/net/ipv4/conf/%s",ifr.ifr_name); recalledDevice = (stat(procpath,&sbuf) != 0); } if (!recalledDevice) { -- cgit v1.2.3