Add ifdef for synology around synology-only code in Linux Ethernet tap.
This commit is contained in:
parent
ed4f84cc57
commit
9b001823f6
2 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue