Add default addIps() implementation to EthernetTap base class to fix build on systems that do not need addIps().
This commit is contained in:
parent
1cf953c046
commit
1b6b38e395
2 changed files with 10 additions and 1 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
virtual void setEnabled(bool en) = 0;
|
||||
virtual bool enabled() const = 0;
|
||||
virtual bool addIp(const InetAddress &ip) = 0;
|
||||
virtual bool addIps(std::vector<InetAddress> ips) = 0;
|
||||
virtual bool addIps(std::vector<InetAddress> ips); // uses addIp() unless overridden
|
||||
virtual bool removeIp(const InetAddress &ip) = 0;
|
||||
virtual std::vector<InetAddress> ips() const = 0;
|
||||
virtual void put(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue