diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-21 16:58:19 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-21 16:58:50 +0200 |
commit | ca6375ac515291e8ba71a5b4e378d1ebf4cebf2f (patch) | |
tree | 778b1f13ce4c2134e7864dffca17cec117f152d2 /package/network/services/hostapd/patches/110-fix_parse_das_client.patch | |
parent | 14eb09d5c0458fb619dc7030c149322ef0b137c3 (diff) | |
download | upstream-ca6375ac515291e8ba71a5b4e378d1ebf4cebf2f.tar.gz upstream-ca6375ac515291e8ba71a5b4e378d1ebf4cebf2f.tar.bz2 upstream-ca6375ac515291e8ba71a5b4e378d1ebf4cebf2f.zip |
hostapd: fix an error on parsing radius_das_client
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/patches/110-fix_parse_das_client.patch')
-rw-r--r-- | package/network/services/hostapd/patches/110-fix_parse_das_client.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/110-fix_parse_das_client.patch b/package/network/services/hostapd/patches/110-fix_parse_das_client.patch new file mode 100644 index 0000000000..67fb899f30 --- /dev/null +++ b/package/network/services/hostapd/patches/110-fix_parse_das_client.patch @@ -0,0 +1,10 @@ +--- a/hostapd/config_file.c ++++ b/hostapd/config_file.c +@@ -645,6 +645,7 @@ static int hostapd_parse_das_client(stru + if (secret == NULL) + return -1; + ++ *secret = 0; + secret++; + + if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) |