LinuxEthernetTap addIps virtual function fix for SYNOLOGY builds
This commit is contained in:
parent
ca89695270
commit
d8de837c60
4 changed files with 9 additions and 9 deletions
|
@ -1715,8 +1715,9 @@ public:
|
|||
}
|
||||
}
|
||||
#ifdef __SYNOLOGY__
|
||||
if (!n.tap->addIpSyn(newManagedIps))
|
||||
if (!n.tap->addIps(newManagedIps)) {
|
||||
fprintf(stderr,"ERROR: unable to add ip addresses to ifcfg" ZT_EOL_S);
|
||||
}
|
||||
#else
|
||||
for(std::vector<InetAddress>::iterator ip(newManagedIps.begin());ip!=newManagedIps.end();++ip) {
|
||||
if (std::find(n.managedIps.begin(),n.managedIps.end(),*ip) == n.managedIps.end()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue