[PATCH] Do not generate an unused and invalid Request Authenticator when constructing Accounting-Request packets.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Do not generate an unused and invalid Request Authenticator
 when constructing Accounting-Request packets. The correct Request
 Authenticator is calculated subsequently.

Signed-off-by: Nick Lowe <nick.lowe@xxxxxxxxxxxx>
---
 src/ap/accounting.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/ap/accounting.c b/src/ap/accounting.c
index 854174e..0aacc3c 100644
--- a/src/ap/accounting.c
+++ b/src/ap/accounting.c
@@ -50,11 +50,6 @@ static struct radius_msg * accounting_msg(struct
hostapd_data *hapd,
  return NULL;
  }

- if (radius_msg_make_authenticator(msg) < 0) {
- wpa_printf(MSG_INFO, "Could not make Request Authenticator");
- goto fail;
- }
-
  if (!radius_msg_add_attr_int32(msg, RADIUS_ATTR_ACCT_STATUS_TYPE,
        status_type)) {
  wpa_printf(MSG_INFO, "Could not add Acct-Status-Type");
-- 
2.7.4

Attachment: 0001-Do-not-generate-an-unused-and-invalid-Request-Authen.patch
Description: Binary data

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux