diff options
author | Joseph Henry <josephjah@gmail.com> | 2017-08-31 11:37:29 -0700 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2017-08-31 11:37:29 -0700 |
commit | f39e2e2a53f3f521b79d06681b859c7d9f4f80ca (patch) | |
tree | 59a30eb16234cb8e16b44630f4c3449c82ca6ea8 /osdep | |
parent | 5bf5d5e9cbf799987897fd3ea07e212c1ff1ab6c (diff) | |
download | infinitytier-f39e2e2a53f3f521b79d06681b859c7d9f4f80ca.tar.gz infinitytier-f39e2e2a53f3f521b79d06681b859c7d9f4f80ca.zip |
Fixed typo of mysterious origin
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/LinuxEthernetTap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/LinuxEthernetTap.cpp b/osdep/LinuxEthernetTap.cpp index c8f9ef9d..848f3638 100644 --- a/osdep/LinuxEthernetTap.cpp +++ b/osdep/LinuxEthernetTap.cpp @@ -314,7 +314,7 @@ bool LinuxEthernetTap::addIpSyn(std::vector<InetAddress> ips) OSUtils::writeFile(filepath.c_str(), cfg_contents.c_str(), cfg_contents.length()); // Finaly, add IPs for(int i=0; i<(int)ips.size(); i++){ - char iptmp[128],iptmp2[128[; + char iptmp[128],iptmp2[128]; if (ips[i].isV4()) ::execlp("ip","ip","addr","add",ips[i].toString(iptmp),"broadcast",ips[i].broadcast().toIpString(iptmp2),"dev",_dev.c_str(),(const char *)0); else |