mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Added NetworkInterface::is_loopback.
This commit is contained in:
@@ -144,6 +144,12 @@ public:
|
||||
operator bool() const {
|
||||
return iface_id != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Indicates whether this is a loopback device.
|
||||
* @return true iff this is a loopback device.
|
||||
*/
|
||||
bool is_loopback() const;
|
||||
|
||||
/**
|
||||
* \brief Compares this interface for equality.
|
||||
|
||||
Reference in New Issue
Block a user