Add ifdef for synology around synology-only code in Linux Ethernet tap.

This commit is contained in:
Adam Ierymenko 2017-03-08 16:12:54 -08:00
parent ed4f84cc57
commit 9b001823f6
2 changed files with 7 additions and 3 deletions

View file

@ -52,7 +52,9 @@ public:
void setEnabled(bool en);
bool enabled() const;
bool addIp(const InetAddress &ip);
#ifdef __SYNOLOGY__
bool addIpSyn(std::vector<InetAddress> ips);
#endif
bool removeIp(const InetAddress &ip);
std::vector<InetAddress> ips() const;
void put(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len);