[LEDE-DEV] How to compile hostapd such that there is a full WPA2 Enterprise auhenticator/supplicant?

frm frm frm at gordijn.org
Mon Jul 18 10:30:13 PDT 2016


Hi,

I never submitted a patch, and the LEDE site does not really give clue how
to do so.

The diff below is for the file:
build_dir/target-mips_34kc_musl-1.1.15/hostapd-wpad-full/hostapd-2016-06-15/
hostapd/config_file.c

It addresses the issue that the radius_das_client line in the config file is
not correctly processes 

A typical line is 192.168.1.1 secret.
The code does not correctly split the ip address and secret.

----------------------
--- config_file.c	2016-07-18 19:20:35.691693705 +0200
+++ config_file.c.org	2016-07-18 19:19:22.854231637 +0200
@@ -644,7 +644,7 @@ static int hostapd_parse_das_client(stru
 	secret = os_strchr(val, ' ');
 	if (secret == NULL)
 		return -1;
-	*secret= '\0';
+
 	secret++;
 
 	if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr))
----------------------


> -----Oorspronkelijk bericht-----
> Van: Lede-dev [mailto:lede-dev-bounces at lists.infradead.org] Namens Jo-
> Philipp Wich
> Verzonden: maandag 18 juli 2016 16:04
> Aan: lede-dev at lists.infradead.org
> Onderwerp: Re: [LEDE-DEV] How to compile hostapd such that there is a full
> WPA2 Enterprise auhenticator/supplicant?
> 
> Hi "frm",
> 
> can you send a proper diff? WIthout any context it is totally unclear what
you
> intend to tell by pasting the code below. Also how does it relate to
dynamic
> vlan support?
> 
> ~ Jo
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev




More information about the Lede-dev mailing list