-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc index a57645b..d385df4 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc | |||
@@ -91,5 +91,5 @@ int card_into_monitormode (pcap_t **orighandle, const char *device, int cardtype | |||
91 | ptr[0] = 2; | 91 | ptr[0] = 2; |
92 | strcpy(ireq.ifr_ifrn.ifrn_name, device); | 92 | strcpy(ireq.ifr_ifrn.ifrn_name, device); |
93 | if (ioctl( fd, SIOCIWFIRSTPRIV + 4, &ireq)==0) | 93 | if (ioctl( fd, SIOCDEVPRIVATE, &ireq)==0) |
94 | { | 94 | { |
95 | /* All was fine... */ | 95 | /* All was fine... */ |