summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.h
authormickeyl <mickeyl>2003-04-04 13:45:49 (UTC)
committer mickeyl <mickeyl>2003-04-04 13:45:49 (UTC)
commitb2153d44e64c1ade3ee141ea24075add1fd33777 (patch) (side-by-side diff)
tree6164d2eeef1c0ee79fcf4da85f2c8ed88aa0ecb3 /libopie2/opienet/onetwork.h
parent089385bb8ab768fbf6f394f326e565e3589163fc (diff)
downloadopie-b2153d44e64c1ade3ee141ea24075add1fd33777.zip
opie-b2153d44e64c1ade3ee141ea24075add1fd33777.tar.gz
opie-b2153d44e64c1ade3ee141ea24075add1fd33777.tar.bz2
reliable strategy to see if we're in monitor mode by looking at the MAC address family
Diffstat (limited to 'libopie2/opienet/onetwork.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h
index 509c3db..4cadbeb 100644
--- a/libopie2/opienet/onetwork.h
+++ b/libopie2/opienet/onetwork.h
@@ -126,6 +126,7 @@ class ONetworkInterface : public QObject
bool isWireless() const;
QString ipV4Address() const;
OMacAddress macAddress() const;
+ int dataLinkType() const;
protected:
const int _sfd;
@@ -248,7 +249,6 @@ class OMonitoringInterface
virtual QString name() const = 0;
protected:
- bool _enabled;
const OWirelessNetworkInterface* _if;
};